[HALX86] Use InterlockedBitTestAndSetAffinity instead of InterlockedBitTestAndSet

This commit is contained in:
Timo Kreuzer 2023-11-30 14:04:21 +02:00
parent d87b45bee7
commit d8d46a00c3

View file

@ -54,9 +54,8 @@ HalInitializeProcessor(
KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT;
/* Update the interrupt affinity and processor mask */
InterlockedBitTestAndSet((PLONG)&HalpActiveProcessors, ProcessorNumber);
InterlockedBitTestAndSet((PLONG)&HalpDefaultInterruptAffinity,
ProcessorNumber);
InterlockedBitTestAndSetAffinity(&HalpActiveProcessors, ProcessorNumber);
InterlockedBitTestAndSetAffinity(&HalpDefaultInterruptAffinity, ProcessorNumber);
/* Register routines for KDCOM */
HalpRegisterKdSupportFunctions();