unfuckup arm exception handlers
authorKristina Brooks <christinaa@users.noreply.github.com>
Sat, 7 Jan 2017 21:53:19 +0000 (21:53 +0000)
committerGitHub <noreply@github.com>
Sat, 7 Jan 2017 21:53:19 +0000 (21:53 +0000)
arm_chainloader/start.s

index a758c58..096e7da 100644 (file)
@@ -51,9 +51,10 @@ g_FirmwareData:
        mov sp, #(MEM_STACK_END); \\r
        stmea sp, {r0-lr}^; \\r
        str lr, [sp, #60]; \\r
-       mrs r0, spsr\r
-       str r0, [sp, #64];\r
-\r
+       mrs r0, spsr; \\r
+       str r0, [sp, #64]; \\r
+       mov r0, sp\r
+       \r
 _fleh_undef:\r
        SaveRegisters()\r
        b sleh_undef\r
This page took 0.024728 seconds and 4 git commands to generate.