Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/include/specialreg.h
Show First 20 Lines • Show All 484 Lines • ▼ Show 20 Lines | |||||
#define CPUID_STDEXT3_PCONFIG 0x00040000 | #define CPUID_STDEXT3_PCONFIG 0x00040000 | ||||
#define CPUID_STDEXT3_IBPB 0x04000000 | #define CPUID_STDEXT3_IBPB 0x04000000 | ||||
#define CPUID_STDEXT3_STIBP 0x08000000 | #define CPUID_STDEXT3_STIBP 0x08000000 | ||||
#define CPUID_STDEXT3_L1D_FLUSH 0x10000000 | #define CPUID_STDEXT3_L1D_FLUSH 0x10000000 | ||||
#define CPUID_STDEXT3_ARCH_CAP 0x20000000 | #define CPUID_STDEXT3_ARCH_CAP 0x20000000 | ||||
#define CPUID_STDEXT3_CORE_CAP 0x40000000 | #define CPUID_STDEXT3_CORE_CAP 0x40000000 | ||||
#define CPUID_STDEXT3_SSBD 0x80000000 | #define CPUID_STDEXT3_SSBD 0x80000000 | ||||
/* CPUID_HYBRID_ID leaf 0x1a */ | |||||
#define CPUID_HYBRID_CORE_MASK 0xff000000 | |||||
karels: What is this line? I'm not sure what "lead" means here, and there is a closing comment… | |||||
Done Inline ActionsIt is 'leaf'. And '*/' is ignored because the macro is not used. kib: It is 'leaf'. And '*/' is ignored because the macro is not used. | |||||
#define CPUID_HYBRID_SMALL_CORE 0x20000000 | |||||
#define CPUID_HYBRID_LARGE_CORE 0x40000000 | |||||
/* MSR IA32_ARCH_CAP(ABILITIES) bits */ | /* MSR IA32_ARCH_CAP(ABILITIES) bits */ | ||||
#define IA32_ARCH_CAP_RDCL_NO 0x00000001 | #define IA32_ARCH_CAP_RDCL_NO 0x00000001 | ||||
#define IA32_ARCH_CAP_IBRS_ALL 0x00000002 | #define IA32_ARCH_CAP_IBRS_ALL 0x00000002 | ||||
#define IA32_ARCH_CAP_RSBA 0x00000004 | #define IA32_ARCH_CAP_RSBA 0x00000004 | ||||
#define IA32_ARCH_CAP_SKIP_L1DFL_VMENTRY 0x00000008 | #define IA32_ARCH_CAP_SKIP_L1DFL_VMENTRY 0x00000008 | ||||
#define IA32_ARCH_CAP_SSB_NO 0x00000010 | #define IA32_ARCH_CAP_SSB_NO 0x00000010 | ||||
#define IA32_ARCH_CAP_MDS_NO 0x00000020 | #define IA32_ARCH_CAP_MDS_NO 0x00000020 | ||||
#define IA32_ARCH_CAP_IF_PSCHANGE_MC_NO 0x00000040 | #define IA32_ARCH_CAP_IF_PSCHANGE_MC_NO 0x00000040 | ||||
▲ Show 20 Lines • Show All 698 Lines • Show Last 20 Lines |
What is this line? I'm not sure what "lead" means here, and there is a closing comment delimiter without an opening delimiter. Fixing this macro and using in initializecpu() seems like a good idea though.