]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/DisableInterrupts.S
Fixed issues compiling for Apple gcc on IA-32
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseLib / X64 / DisableInterrupts.S
index da16886b8b38de1439f0ae838914688c13a99b70..8a359e568f6bb4c59eb330ff1867bf61af71b7fd 100644 (file)
@@ -21,7 +21,7 @@
 #\r
 #------------------------------------------------------------------------------\r
 \r
-\r
+#include <EdkIIGlueBase.h>\r
 #------------------------------------------------------------------------------\r
 # VOID\r
 # EFIAPI\r
@@ -29,7 +29,7 @@
 #   VOID\r
 #   );\r
 #------------------------------------------------------------------------------\r
-.global _DisableInterrupts;\r
-_DisableInterrupts:\r
+.globl ASM_PFX(DisableInterrupts)\r
+ASM_PFX(DisableInterrupts):\r
     cli\r
     ret\r