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
This commit is contained in:
geekboy15a 2010-01-27 22:45:14 +00:00
parent 6dec88649a
commit 28319270fb
7 changed files with 1 additions and 1 deletions

View File

@ -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