mirror of https://github.com/acidanthera/audk.git
9c733f0b90
In TDX, Application Processor busy-loops on Mailbox for OS to issue
MpProtectedModeWakeupCommandWakeup command to UEFI. As the AP acking to
it, it clears the command member according to ACPI spec 6.4, 5.2.12.19
Multiprocessor Wakeup Structure: "The application processor need clear the
command to Noop(0) as the acknowledgement that the command is received."
However, AsmRelocateApMailBoxLoop wrongly clears WakeupVector. Correctly
clear command instead of WakeupVector.
Without this patch, TD guest kernel fails to boot APs.
Fixes:
|
||
---|---|---|
.. | ||
X64 | ||
TdxAcpiTable.c | ||
TdxAcpiTable.h | ||
TdxDxe.c | ||
TdxDxe.inf |