summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-27 22:45:14 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-27 22:45:14 +0000
commit28319270fbc71781e9710ac3357e3093cdb20aab (patch)
tree3ed1bd08acbaaf9f5a4ab6e07508a54ebf946e71
parent6dec88649aefe8c302d32871adfe791407911788 (diff)
downloadedk2-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
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.rawbin500 -> 500 bytes
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.ia32.rawbin484 -> 484 bytes
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.rawbin884 -> 884 bytes
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.rawbin28676 -> 28676 bytes
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.x64.rawbin28676 -> 28676 bytes
-rw-r--r--OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.rawbin28676 -> 28676 bytes
-rw-r--r--OvmfPkg/ResetVector/Ia16/16RealTo32Flat.asm2
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
index c071f1afaf..3a8a46d172 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.port80.raw
Binary files differ
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw
index 97e639ab70..7379cb7b30 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.raw
Binary files differ
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw
index c775900fbf..4b7278463b 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.ia32.serial.raw
Binary files differ
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw
index 09c9117072..487d815670 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.port80.raw
Binary files differ
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw
index 4b98137b1d..1f4e9fcb83 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.raw
Binary files differ
diff --git a/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw b/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw
index dfbb4f46d3..9b08b317ce 100644
--- a/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw
+++ b/OvmfPkg/ResetVector/Bin/ResetVector.x64.serial.raw
Binary files differ
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