maze.S: mailbox 0x08800200
This commit is contained in:
+3
-3
@@ -1,15 +1,15 @@
|
|||||||
.syntax unified
|
.syntax unified
|
||||||
.cpu cortex-a7
|
.cpu cortex-a7
|
||||||
.thumb
|
.thumb
|
||||||
@ maze entry logger: record lr/sp to mailbox 0x08062200, return 0.
|
@ maze entry logger: record lr/sp to mailbox 0x08800200, return 0.
|
||||||
@ Guard: if lr is outside known-good SBL/stub ranges, spin with
|
@ Guard: if lr is outside known-good SBL/stub ranges, spin with
|
||||||
@ interrupts disabled instead of jumping into the void (post-mortem
|
@ interrupts disabled instead of jumping into the void (post-mortem
|
||||||
@ via vec trap regs).
|
@ via vec trap regs).
|
||||||
.text
|
.text
|
||||||
.global maze_stub
|
.global maze_stub
|
||||||
maze_stub:
|
maze_stub:
|
||||||
movw r12, #:lower16:0x08062200
|
movw r12, #:lower16:0x08800200
|
||||||
movt r12, #:upper16:0x08062200
|
movt r12, #:upper16:0x08800200
|
||||||
str lr, [r12]
|
str lr, [r12]
|
||||||
str sp, [r12, #4]
|
str sp, [r12, #4]
|
||||||
movs r0, #0
|
movs r0, #0
|
||||||
|
|||||||
Reference in New Issue
Block a user