/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2016-2020. All rights reserved. * Description: cpu table header * Author: BSP software * Create: 2020-4-14 */ #ifndef HUANGLONG_CPUTABLE_H #define HUANGLONG_CPUTABLE_H #define RESERVED13 (932610816ULL) #define RESERVED9 (932610817ULL) #define RESERVED13_C (932610832ULL) #define RESERVED9_C (932610833ULL) #define RESERVED13_D (3272147200ULL) #define RESERVED9_D (3272147201ULL) #define RESERVED13_C_MASK (932610832ULL) #define RESERVED13_D_MASK (3272147200ULL) #define REVERSION_BIT 4 #define REVERSION_PKG_ID_BIT 20 #define RESERVED13_MASK (0xFFFFFFFFFFULL) #define RESERVED9_MASK (0xFFFFFFFFFFULL) u64 get_chipid(u64 mask); const char *get_cpuname(void); extern u64 g_cpu_chipid; #endif /* HUANGLONG_CPUTABLE_H */