]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/ReadCr3.S
Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to correctly...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / ReadCr3.S
index b714801b0a85325971deef54d3b5ab6dae3dbe39..49a9b8325acc9b2438d9b45123842debe5dd1337 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
-#   ReadCr3.Asm\r
+#   ReadCr3.S\r
 #\r
 # Abstract:\r
 #\r
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-.global _AsmReadCr3\r
+ASM_GLOBAL ASM_PFX(AsmReadCr3)\r
 \r
 #------------------------------------------------------------------------------\r
 # UINTN\r
@@ -30,6 +30,6 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-_AsmReadCr3:\r
+ASM_PFX(AsmReadCr3):\r
     movl    %cr3, %eax\r
     ret\r