summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm')
-rw-r--r--OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm b/OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm
index adf049cf77..3139ff50cb 100644
--- a/OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm
+++ b/OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm
@@ -32,7 +32,7 @@ TransitionFromReal16To32BitFlat:
mov bx, ADDR16_OF(gdtr)
-o32 lgdt [bx]
+o32 lgdt [cs:bx]
mov eax, SEC_DEFAULT_CR0
mov cr0, eax