Fixed issue with InternalX86ReadIdtr referencing LDT read and not IDT read operation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10559 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
geekboy15a 2010-06-01 22:46:53 +00:00
parent f1329e6f50
commit 2bd78c92c6
2 changed files with 2 additions and 2 deletions

View File

@ -1082,7 +1082,7 @@ InternalX86ReadIdtr (
) )
{ {
__asm__ __volatile__ ( __asm__ __volatile__ (
"sldt %0" "sidt %0"
: "=m" (*Idtr) : "=m" (*Idtr)
); );
} }

View File

@ -1092,7 +1092,7 @@ InternalX86ReadIdtr (
) )
{ {
__asm__ __volatile__ ( __asm__ __volatile__ (
"sldt %0" "sidt %0"
: "=m" (*Idtr) : "=m" (*Idtr)
); );
} }