diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-27 22:45:14 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-27 22:45:14 +0000 |
commit | 28319270fbc71781e9710ac3357e3093cdb20aab (patch) | |
tree | 3ed1bd08acbaaf9f5a4ab6e07508a54ebf946e71 /OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm | |
parent | 6dec88649aefe8c302d32871adfe791407911788 (diff) | |
download | edk2-platforms-28319270fbc71781e9710ac3357e3093cdb20aab.tar.xz |
Fixed GDT load issue in some cases after a reset. Only CS should be used to access flash prior to entering protected mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9839 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm')
-rw-r--r-- | OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm | 2 |
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
|