#
#include <AsmMacroIoLib.h>
-#include <Base.h>
#include <AutoGen.h>
+#include "SecInternal.h"
-#start of the code section
.text
-.align 5\r
-\r
-# IMPORT
-GCC_ASM_IMPORT(SecCommonExceptionEntry)
+.align 5
-# EXPORT
+GCC_ASM_IMPORT(SecCommonExceptionEntry)
GCC_ASM_EXPORT(SecVectorTable)
-\r
+
//============================================================
-//Default Exception Handlers
+// Default Exception Handlers
//============================================================
-//FIXME: One of the EDK2 tool is broken. It does not look to respect the alignment. Even, if we specify 32-byte alignment for this file.
-Dummy1: .word 0\r
-Dummy2: .word 0\r
ASM_PFX(SecVectorTable):
b _DefaultResetHandler
# 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
-\r
-.end\r
+ blx ASM_PFX(SecCommonExceptionEntry)
+