Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/include/cpuinfo.h
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | struct cpuinfo { | ||||
int virtualization_ext; | int virtualization_ext; | ||||
int security_ext; | int security_ext; | ||||
/* L1 cache info */ | /* L1 cache info */ | ||||
int dcache_line_size; | int dcache_line_size; | ||||
int dcache_line_mask; | int dcache_line_mask; | ||||
int icache_line_size; | int icache_line_size; | ||||
int icache_line_mask; | int icache_line_mask; | ||||
/* mpidr */ | |||||
int mp_ext; | |||||
}; | }; | ||||
extern struct cpuinfo cpuinfo; | extern struct cpuinfo cpuinfo; | ||||
void cpuinfo_init(void); | void cpuinfo_init(void); | ||||
void cpuinfo_get_actlr_modifier(uint32_t *actlr_mask, uint32_t *actlr_set); | void cpuinfo_get_actlr_modifier(uint32_t *actlr_mask, uint32_t *actlr_set); | ||||
#endif /* _MACHINE_CPUINFO_H_ */ | #endif /* _MACHINE_CPUINFO_H_ */ |