mirror of https://github.com/acidanthera/audk.git
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:
parent
f1329e6f50
commit
2bd78c92c6
|
@ -1082,7 +1082,7 @@ InternalX86ReadIdtr (
|
|||
)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
"sldt %0"
|
||||
"sidt %0"
|
||||
: "=m" (*Idtr)
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1092,7 +1092,7 @@ InternalX86ReadIdtr (
|
|||
)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
"sldt %0"
|
||||
"sidt %0"
|
||||
: "=m" (*Idtr)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue