summaryrefslogtreecommitdiff
path: root/include/common/aarch32/asm_macros.S
diff options
context:
space:
mode:
Diffstat (limited to 'include/common/aarch32/asm_macros.S')
-rw-r--r--include/common/aarch32/asm_macros.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/common/aarch32/asm_macros.S b/include/common/aarch32/asm_macros.S
index 11e45bbf..5f044991 100644
--- a/include/common/aarch32/asm_macros.S
+++ b/include/common/aarch32/asm_macros.S
@@ -70,6 +70,16 @@
.endm
/*
+ * Declare the exception vector table, enforcing it is aligned on a
+ * 32 byte boundary.
+ */
+ .macro vector_base label
+ .section .vectors, "ax"
+ .align 5
+ \label:
+ .endm
+
+ /*
* This macro calculates the base address of the current CPU's multi
* processor(MP) stack using the plat_my_core_pos() index, the name of
* the stack storage and the size of each stack.