mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTOSKRNL]
Merge r51181 from cmake branch: Move macro definition out of macro instantiation. Fixes compilation with MSVC svn path=/trunk/; revision=51721
This commit is contained in:
parent
03b3034b40
commit
0615e6a7be
1 changed files with 4 additions and 5 deletions
|
@ -474,10 +474,9 @@ KiGetFeatureBits(VOID)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#define print_supported(kf_value) ((FeatureBits & kf_value) ? #kf_value : "")
|
||||
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) \
|
||||
FeatureBits & kf_value ? #kf_value : ""
|
||||
print_supported(KF_V86_VIS),
|
||||
print_supported(KF_RDTSC),
|
||||
print_supported(KF_CR4),
|
||||
|
@ -739,7 +738,7 @@ KiGetCacheInformation(VOID)
|
|||
/* Check if we support CPUID 0x80000006 */
|
||||
CPUID(0x80000000, &Data[0], &Data[1], &Data[2], &Data[3]);
|
||||
if (Data[0] >= 0x80000006)
|
||||
{
|
||||
{
|
||||
/* Get 2nd level cache and tlb size */
|
||||
CPUID(0x80000006, &Data[0], &Data[1], &Data[2], &Data[3]);
|
||||
|
||||
|
@ -1352,7 +1351,7 @@ KiFlushNPXState(IN PFLOATING_SAVE_AREA SaveArea)
|
|||
|
||||
/* Now load NPX state from the NPX area */
|
||||
FxSaveArea = KiGetThreadNpxArea(Thread);
|
||||
Ke386FxStore(FxSaveArea);
|
||||
Ke386FxStore(FxSaveArea);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue