1.
> + if (StandardSignatureIsAuthenticAMD ()) {
> +StackStart = CpuMpData->SevEsAPResetStackStart;
CpuMpData->SevEsAPResetStackStart is not always allocated when CPU is AMD.
How about to use the following code:
if (StandardSignatureIsAuthenticAMD ()) {
StackStart
AsmRelocateApLoop is replicated for future Intel Logic Extraction,
further brings AP into 64-bit, and enables paging.
Signed-off-by: Yuanhao Xie
---
UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 51
+++
UefiCpuPkg/Library/MpInitLib/MpEqu.inc