mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.
svn path=/trunk/; revision=46651
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
KAFFINITY HalpActiveProcessors;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
VOID
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
LONG HalpActiveProcessors;
|
||||
KAFFINITY HalpActiveProcessors;
|
||||
KAFFINITY HalpDefaultInterruptAffinity;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
@@ -41,7 +41,7 @@ HalInitializeProcessor(IN ULONG ProcessorNumber,
|
||||
KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT;
|
||||
|
||||
/* Update the interrupt affinity and processor mask */
|
||||
InterlockedBitTestAndSet(&HalpActiveProcessors, ProcessorNumber);
|
||||
InterlockedBitTestAndSet((PLONG)&HalpActiveProcessors, ProcessorNumber);
|
||||
InterlockedBitTestAndSet((PLONG)&HalpDefaultInterruptAffinity,
|
||||
ProcessorNumber);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user