During the finalization of Mp initialization before booting into the OS,
depending on whether Mwait is supported or not, AsmRelocateApLoop
places Aps in MWAIT-loop or HLT-loop.
Since paging is necessary for long mode, the original implementation of
moving APs to 32-bit was to disable paging to
> +
> +PageTable = CreatePageTable (
> + mReservedTopOfApStack,
> + ApSafeBufferSize
> + );
> +
> +mApPageTable = PageTable;
1. Can you directly assign the CreatePageTable() return value to mApPageTable?
So that the local "PageTable"
During the finalization of Mp initialization before booting into the OS,
depending on whether Mwait is supported or not, AsmRelocateApLoop
places Aps in MWAIT-loop or HLT-loop.
Since paging is necessary for long mode, the original implementation of
moving APs to 32-bit was to disable paging to