summaryrefslogtreecommitdiffstats
path: root/bsps/arm/shared/start/start.S
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bsps/arm/shared/start/start.S11
1 files changed, 9 insertions, 2 deletions
diff --git a/bsps/arm/shared/start/start.S b/bsps/arm/shared/start/start.S
index b90801c2aa..dfd0d3891d 100644
--- a/bsps/arm/shared/start/start.S
+++ b/bsps/arm/shared/start/start.S
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (c) 2008, 2020 embedded brains GmbH. All rights reserved.
+ * Copyright (C) 2008, 2020 embedded brains GmbH & Co. KG
*
* Copyright (c) 2016 Pavel Pisa <pisa@cmp.felk.cvut.cz>
*
@@ -29,7 +29,9 @@
/* Global symbols */
.globl _start
+ .type _start, %function
.globl bsp_start_hook_0_done
+ .type bsp_start_hook_0_done, %function
.globl bsp_start_vector_table_begin
.globl bsp_start_vector_table_end
.globl bsp_start_vector_table_size
@@ -75,6 +77,10 @@ bsp_start_vector_table_begin:
ldr pc, .Lhandler_addr_irq
ldr pc, .Lhandler_addr_fiq
+#ifdef BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT
+.balign BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT
+#endif
+
.Lhandler_addr_reset:
#ifdef BSP_START_RESET_VECTOR
@@ -194,7 +200,7 @@ _start:
/*
* Check that this is a configured processor. If not, then there is
- * not much what can be done since we do not have a stack available for
+ * not much that can be done since we do not have a stack available for
* this processor. Just loop forever in this case.
*/
ldr r1, =_SMP_Processor_configured_maximum
@@ -285,6 +291,7 @@ _start:
sub r3, r3, r1
#ifdef BSP_START_NEEDS_REGISTER_INITIALIZATION
+ /* These are banked FIQ mode registers */
mov r8, #0
mov r9, #0
mov r10, #0