diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Arm/GetInterruptsState.S')
-rw-r--r-- | MdePkg/Library/BaseLib/Arm/GetInterruptsState.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Arm/GetInterruptsState.S b/MdePkg/Library/BaseLib/Arm/GetInterruptsState.S index a7cd3c5cf2..95b3c5f07e 100644 --- a/MdePkg/Library/BaseLib/Arm/GetInterruptsState.S +++ b/MdePkg/Library/BaseLib/Arm/GetInterruptsState.S @@ -16,7 +16,8 @@ .text
.p2align 2
-.globl _GetInterruptState
+.globl ASM_PFX(GetInterruptState)
+INTERWORK_FUNC(GetInterruptState) #/**
# Retrieves the current CPU interrupt state.
@@ -35,7 +36,7 @@ # VOID
# );
#
-_GetInterruptState:
+ASM_PFX(GetInterruptState):
mrs R0, CPSR
tst R0, #0x80 @Check if IRQ is enabled.
moveq R0, #1
|