mirror of https://github.com/acidanthera/audk.git
13ed9e5fc0
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198 The SEV support will clear the C-bit from non-RAM areas. The early GDT lives in a non-RAM area, so when an exception occurs (like a #VC) the GDT will be read as un-encrypted even though it is encrypted. This will result in a failure to be able to handle the exception. Move the GDT into RAM so it can be accessed without error when running as an SEV-ES guest. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com> |
||
---|---|---|
.. | ||
AmdSev.c | ||
ClearCache.c | ||
Cmos.c | ||
Cmos.h | ||
FeatureControl.c | ||
Fv.c | ||
MemDetect.c | ||
MemTypeInfo.c | ||
Platform.c | ||
Platform.h | ||
PlatformPei.inf | ||
Xen.c | ||
Xen.h |