summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/ResetVector/Main.asm
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/ResetVector/Main.asm')
-rw-r--r--OvmfPkg/ResetVector/Main.asm14
1 files changed, 14 insertions, 0 deletions
diff --git a/OvmfPkg/ResetVector/Main.asm b/OvmfPkg/ResetVector/Main.asm
index bbfeac1c88..5cfc0b5c72 100644
--- a/OvmfPkg/ResetVector/Main.asm
+++ b/OvmfPkg/ResetVector/Main.asm
@@ -40,6 +40,20 @@ BITS 32
; work area when detected.
mov byte[WORK_AREA_GUEST_TYPE], 0
+%ifdef ARCH_X64
+
+ jmp SearchBfv
+
+;
+; Entry point of Main32
+;
+Main32:
+ OneTimeCall InitTdx
+
+SearchBfv:
+
+%endif
+
;
; Search for the Boot Firmware Volume (BFV)
;