update AP bootstrap code
Bu işleme şunda yer alıyor:
@@ -79,6 +79,8 @@ HlStartProcessor(IN ULONG CpuId,
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
extern ULONG_PTR ArBootstrapPageMap;
|
||||
|
||||
XTAPI
|
||||
XTSTATUS
|
||||
HlStartAllProcessors(VOID)
|
||||
@@ -95,6 +97,9 @@ HlStartAllProcessors(VOID)
|
||||
/* Check if at least one AP is present */
|
||||
if(HlpSystemInfo.CpuCount > 1)
|
||||
{
|
||||
/* Save page map address in the bootstrap code */
|
||||
ArBootstrapPageMap = ArReadControlRegister(3);
|
||||
|
||||
/* Allocate 5 pages for AP bootstrap code and ensure it is low memory */
|
||||
Status = MmAllocateHardwareMemory(AP_SPINUP_PAGE_COUNT, FALSE, &ApPhysicalAddress);
|
||||
if(Status != STATUS_SUCCESS || ApPhysicalAddress.QuadPart > (0x100000 - AP_SPINUP_PAGE_COUNT * MM_PAGE_SIZE))
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle