]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadDr2.S
Fix the bug that if code is run above 4G, AsmDisablePaging64 will be failed
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadDr2.S
index 8af8e22d6f775d642547720ef78c64101fe41132..610e9e12efa2be9cc3617fea88eb74bb55b3d677 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2006, Intel Corporation\r
+# Copyright (c) 2006 - 2008, Intel Corporation\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
@@ -11,7 +11,7 @@
 #\r
 # Module Name:\r
 #\r
-#   ReadDr2.Asm\r
+#   ReadDr2.S\r
 #\r
 # Abstract:\r
 #\r
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.globl _AsmReadDr2\r
+ASM_GLOBAL ASM_PFX(AsmReadDr2)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
@@ -30,6 +30,6 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-_AsmReadDr2:\r
+ASM_PFX(AsmReadDr2):\r
     movl    %dr2, %eax\r
     ret\r