]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/ram-reset.s
fix MacOS compile errors by replacing memalign() with posix_memalign()
[proxmark3-svn] / bootrom / ram-reset.s
index 34c950f60ed85348931c411c90e6123c1ce71639..ade70d8cc3b2350cccb22fa66cd6ba8ea82cecff 100644 (file)
@@ -9,13 +9,12 @@
 .extern BootROM
 
 .section .startphase2,"ax"
-         .code 32
-         .align 0
 
-.global ramstart
-ramstart:
-    ldr     sp,     .stack_end
-    bl      BootROM
+.arm
 
-       .stack_end:
-       .word _stack_end
+.global ram_start
+ram_start:
+       ldr     sp,     =_stack_end
+       bl      BootROM
+
+       .ltorg
Impressum, Datenschutz