summaryrefslogtreecommitdiffstats
path: root/Src/osmocombb/src/target/firmware/board/compal/start.ram.S
diff options
context:
space:
mode:
authorTom2011-08-16 13:19:29 +0200
committerTom2011-08-16 13:19:29 +0200
commit7be0213030d2ce50e618e72b5a90e4c5b63c59a4 (patch)
tree98f7f3b0d38c863153f6d95a7129d867c43b652a /Src/osmocombb/src/target/firmware/board/compal/start.ram.S
parentremoved whole lib since compiled files were on index (diff)
downloadimsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.tar.gz
imsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.tar.xz
imsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.zip
checked in clean osmocombb lib
Diffstat (limited to 'Src/osmocombb/src/target/firmware/board/compal/start.ram.S')
-rw-r--r--Src/osmocombb/src/target/firmware/board/compal/start.ram.S26
1 files changed, 26 insertions, 0 deletions
diff --git a/Src/osmocombb/src/target/firmware/board/compal/start.ram.S b/Src/osmocombb/src/target/firmware/board/compal/start.ram.S
new file mode 100644
index 0000000..c8f242c
--- /dev/null
+++ b/Src/osmocombb/src/target/firmware/board/compal/start.ram.S
@@ -0,0 +1,26 @@
+
+.section .text.start
+
+#include "macros.S"
+
+.globl _start
+_start:
+ /* clear bss section */
+ clear_bss
+
+ /* initialize all stacks */
+ init_stacks
+
+ /* call constructors */
+ call_ctors
+
+ /* jump to main */
+ ldr pc, _jump_main
+
+ /* endless loop at end of program */
+_loop:
+ b _loop
+ b _start
+
+_jump_main:
+ .word main