OvmfPkg/ResetVector: send post codes to qemu debug console

Neat when doing ResetVector coding.
Incompatible with TDX and SEV, therefore not enabled by default.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Erdem Aktas <erdemaktas@google.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20240129122929.349726-1-kraxel@redhat.com>
[lersek@redhat.com: replace "SEV" with "SEV-ES/SEV-SNP" in comment]
This commit is contained in:
Gerd Hoffmann
2024-01-29 13:29:29 +01:00
committed by mergify[bot]
parent a6013625a3
commit 98c7cb3be7
2 changed files with 40 additions and 0 deletions

View File

@@ -40,6 +40,10 @@
%include "Port80Debug.asm"
%elifdef DEBUG_SERIAL
%include "SerialDebug.asm"
%elif 0
; Set ^ this to 1 to enable postcodes on the qemu debug console.
; Disabled by default because it is incompatible with SEV-ES/SEV-SNP and TDX.
%include "QemuDebugCon.asm"
%else
%include "DebugDisabled.asm"
%endif