diff options
author | Ray Ni <ray.ni@intel.com> | 2022-05-07 21:19:08 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-06-10 12:15:49 +0000 |
commit | b4d7b9d2b50f12d34f00afc7c7b4710778209521 (patch) | |
tree | 9660117874d1f76b14886001d600adee7faf8c71 /UefiPayloadPkg/BlSupportDxe | |
parent | 76323c31458c37c2f16288bac3e7699bdbc677d0 (diff) | |
download | edk2-b4d7b9d2b50f12d34f00afc7c7b4710778209521.tar.gz edk2-b4d7b9d2b50f12d34f00afc7c7b4710778209521.tar.bz2 edk2-b4d7b9d2b50f12d34f00afc7c7b4710778209521.zip |
MpInitLib: Put SEV logic in separate file
The patch does several simplifications:
1. Treat SwitchToRealProc as part of RendezvousFunnelProc.
So the common logic in MpLib.c doesn't need to be aware of
SwitchToRealProc.
As a result, SwitchToRealSize/Offset are removed from
MP_ASSEMBLY_ADDRESS_MAP.
2. Move SwitchToRealProc to AmdSev.nasm.
All other assembly code in AmdSev.nasm is called through
OneTimeCall.
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Michael Roth <michael.roth@amd.com>
Cc: James Bottomley <jejb@linux.ibm.com>
Cc: Min Xu <min.m.xu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Erdem Aktas <erdemaktas@google.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'UefiPayloadPkg/BlSupportDxe')
0 files changed, 0 insertions, 0 deletions