summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-06-01 22:46:53 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-06-01 22:46:53 +0000
commit2bd78c92c6a4fe4943675edddeb67e65a9a665be (patch)
tree4da75140d7aeaac2ef72302025bff186d6be602e /MdePkg/Library/BaseLib/X64
parentf1329e6f5028a6e2b390077d000fe72ae6a1296d (diff)
downloadedk2-platforms-2bd78c92c6a4fe4943675edddeb67e65a9a665be.tar.xz
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
Diffstat (limited to 'MdePkg/Library/BaseLib/X64')
-rw-r--r--MdePkg/Library/BaseLib/X64/GccInline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/X64/GccInline.c b/MdePkg/Library/BaseLib/X64/GccInline.c
index 8be2bef121..6a4b5d5c45 100644
--- a/MdePkg/Library/BaseLib/X64/GccInline.c
+++ b/MdePkg/Library/BaseLib/X64/GccInline.c
@@ -1092,7 +1092,7 @@ InternalX86ReadIdtr (
)
{
__asm__ __volatile__ (
- "sldt %0"
+ "sidt %0"
: "=m" (*Idtr)
);
}