mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOSKRNL]
- Beatify cpu supported features output once and for all DPRINT1 is not printf... svn path=/trunk/; revision=50996
This commit is contained in:
parent
ff0651e441
commit
f9ac17b332
1 changed files with 23 additions and 24 deletions
|
@ -482,32 +482,31 @@ KiGetFeatureBits(VOID)
|
|||
}
|
||||
}
|
||||
|
||||
DPRINT1("Supported CPU features :\n");
|
||||
DPRINT1("Supported CPU features : %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s\n",
|
||||
#define print_supported(kf_value) \
|
||||
if(FeatureBits & kf_value) DPRINT1("\t" #kf_value)
|
||||
print_supported(KF_V86_VIS);
|
||||
print_supported(KF_RDTSC);
|
||||
print_supported(KF_CR4);
|
||||
print_supported(KF_CMOV);
|
||||
print_supported(KF_GLOBAL_PAGE);
|
||||
print_supported(KF_LARGE_PAGE);
|
||||
print_supported(KF_MTRR);
|
||||
print_supported(KF_CMPXCHG8B);
|
||||
print_supported(KF_MMX);
|
||||
print_supported(KF_WORKING_PTE);
|
||||
print_supported(KF_PAT);
|
||||
print_supported(KF_FXSR);
|
||||
print_supported(KF_FAST_SYSCALL);
|
||||
print_supported(KF_XMMI);
|
||||
print_supported(KF_3DNOW);
|
||||
print_supported(KF_AMDK6MTRR);
|
||||
print_supported(KF_XMMI64);
|
||||
print_supported(KF_DTS);
|
||||
print_supported(KF_NX_BIT);
|
||||
print_supported(KF_NX_DISABLED);
|
||||
print_supported(KF_NX_ENABLED);
|
||||
FeatureBits & kf_value ? #kf_value : ""
|
||||
print_supported(KF_V86_VIS),
|
||||
print_supported(KF_RDTSC),
|
||||
print_supported(KF_CR4),
|
||||
print_supported(KF_CMOV),
|
||||
print_supported(KF_GLOBAL_PAGE),
|
||||
print_supported(KF_LARGE_PAGE),
|
||||
print_supported(KF_MTRR),
|
||||
print_supported(KF_CMPXCHG8B),
|
||||
print_supported(KF_MMX),
|
||||
print_supported(KF_WORKING_PTE),
|
||||
print_supported(KF_PAT),
|
||||
print_supported(KF_FXSR),
|
||||
print_supported(KF_FAST_SYSCALL),
|
||||
print_supported(KF_XMMI),
|
||||
print_supported(KF_3DNOW),
|
||||
print_supported(KF_AMDK6MTRR),
|
||||
print_supported(KF_XMMI64),
|
||||
print_supported(KF_DTS),
|
||||
print_supported(KF_NX_BIT),
|
||||
print_supported(KF_NX_DISABLED),
|
||||
print_supported(KF_NX_ENABLED));
|
||||
#undef print_supported
|
||||
DPRINT1("\n");
|
||||
|
||||
/* Return the Feature Bits */
|
||||
return FeatureBits;
|
||||
|
|
Loading…
Reference in a new issue