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 | |
parent | 6dec88649aefe8c302d32871adfe791407911788 (diff) | |
download | edk2-28319270fbc71781e9710ac3357e3093cdb20aab.tar.gz edk2-28319270fbc71781e9710ac3357e3093cdb20aab.tar.bz2 edk2-28319270fbc71781e9710ac3357e3093cdb20aab.zip |
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')
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw | bin | 500 -> 500 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw | bin | 484 -> 484 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw | bin | 884 -> 884 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw | bin | 28676 -> 28676 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.x64.raw | bin | 28676 -> 28676 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw | bin | 28676 -> 28676 bytes | |||
-rw-r--r-- | OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm | 2 |
7 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw Binary files differindex c071f1afaf..3a8a46d172 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw Binary files differindex 97e639ab70..7379cb7b30 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw Binary files differindex c775900fbf..4b7278463b 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw Binary files differindex 09c9117072..487d815670 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw Binary files differindex 4b98137b1d..1f4e9fcb83 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw Binary files differindex dfbb4f46d3..9b08b317ce 100644 --- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw +++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw 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
|