summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/PrePeiCore/Exception.S8
-rw-r--r--ArmPlatformPkg/Sec/Exception.S8
2 files changed, 8 insertions, 8 deletions
diff --git a/ArmPlatformPkg/PrePeiCore/Exception.S b/ArmPlatformPkg/PrePeiCore/Exception.S
index a7b4982c21..c2ce15657b 100644
--- a/ArmPlatformPkg/PrePeiCore/Exception.S
+++ b/ArmPlatformPkg/PrePeiCore/Exception.S
@@ -84,20 +84,20 @@ _DefaultReserved:
# Switch to SVC for common stack
cps #0x13
mov r0, #5
- blx PeiCommonExceptionEntry
+ blx ASM_PFX(PeiCommonExceptionEntry)
_DefaultIrq:
sub r1, LR, #4
# Switch to SVC for common stack
cps #0x13
mov r0, #6
- blx PeiCommonExceptionEntry
+ blx ASM_PFX(PeiCommonExceptionEntry)
_DefaultFiq:
sub r1, LR, #4
# Switch to SVC for common stack
cps #0x13
mov r0, #7
- blx PeiCommonExceptionEntry
+ blx ASM_PFX(PeiCommonExceptionEntry)
-.end
+ END
diff --git a/ArmPlatformPkg/Sec/Exception.S b/ArmPlatformPkg/Sec/Exception.S
index 4c7f780dbe..067e5097cf 100644
--- a/ArmPlatformPkg/Sec/Exception.S
+++ b/ArmPlatformPkg/Sec/Exception.S
@@ -84,20 +84,20 @@ _DefaultReserved:
# Switch to SVC for common stack
cps #0x13
mov r0, #5
- blx SecCommonExceptionEntry
+ blx ASM_PFX(SecCommonExceptionEntry)
_DefaultIrq:
sub r1, LR, #4
# Switch to SVC for common stack
cps #0x13
mov r0, #6
- blx SecCommonExceptionEntry
+ blx ASM_PFX(SecCommonExceptionEntry)
_DefaultFiq:
sub r1, LR, #4
# Switch to SVC for common stack
cps #0x13
mov r0, #7
- blx SecCommonExceptionEntry
-
+ blx ASM_PFX(SecCommonExceptionEntry)
+ END