]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/X64/GccInline.c
Enhance UpdateCapsule () to support calling multiple times.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / GccInline.c
index e7fc1aa119e30c0705d17cbb167d7386b34d250a..d559e3be55ed81172ce5c99f57c32ae5fdf9368c 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   GCC inline implementation of BaseLib processor specific functions.\r
   \r
-  Copyright (c) 2006 - 2007, Intel Corporation<BR>\r
-  Portions copyright (c) 2008-2009 Apple Inc.<BR> \r
+  Copyright (c) 2006 - 2010, Intel Corporation<BR>\r
+  Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR> \r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -1088,12 +1088,12 @@ InternalX86WriteGdtr (
 VOID\r
 EFIAPI\r
 InternalX86ReadIdtr (\r
-  OUT     IA32_DESCRIPTOR           *Ldtr\r
+  OUT     IA32_DESCRIPTOR           *Idtr\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "sldt  %0"\r
-    : "=m" (*Ldtr)\r
+    : "=m" (*Idtr)\r
     );\r
 }\r
 \r
@@ -1110,13 +1110,13 @@ InternalX86ReadIdtr (
 VOID\r
 EFIAPI\r
 InternalX86WriteIdtr (\r
-  IN      CONST IA32_DESCRIPTOR     *Ldtr\r
+  IN      CONST IA32_DESCRIPTOR     *Idtr\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "lidt %0"\r
     :\r
-    : "m" (*Ldtr)\r
+    : "m" (*Idtr)\r
     );\r
 }\r
 \r