Store CPU number and mask interrupts in processor block
This commit is contained in:
parent
276eb77862
commit
f66e9aea9e
@ -29,8 +29,10 @@ HlInitializeProcessor(IN ULONG CpuNumber)
|
||||
/* Get current processor block */
|
||||
ProcessorBlock = KeGetCurrentProcessorBlock();
|
||||
|
||||
/* Set initial stall factor */
|
||||
/* Set initial stall factor, CPU number and mask interrupts */
|
||||
ProcessorBlock->StallScaleFactor = INITIAL_STALL_FACTOR;
|
||||
ProcessorBlock->CpuNumber = CpuNumber;
|
||||
ProcessorBlock->Idr = 0xFFFFFFFF;
|
||||
|
||||
/* Record processor block in the processors table */
|
||||
HlpProcessorsIdentity[CpuNumber].ProcessorBlock = ProcessorBlock;
|
||||
|
Loading…
Reference in New Issue
Block a user