banner stub noreturn -> 0x802f694
This commit is contained in:
+3
-3
@@ -3,7 +3,8 @@
|
||||
.thumb
|
||||
@ Banner stub for SBL1 logger call at 0x802f690 (patched to bl here).
|
||||
@ r0 = string. Print raw bytes via UARTDM until NUL (cap 256).
|
||||
@ Preserve lr (set by bl) and return to caller with r0=0.
|
||||
@ The original callee is noreturn (b.n self follows the call), so
|
||||
@ jump on to 0x802f694 (post-banner init) instead of returning.
|
||||
.text
|
||||
.global banner_stub
|
||||
banner_stub:
|
||||
@@ -16,5 +17,4 @@ bn_loop:
|
||||
str r1, [r3, #0x70]
|
||||
b bn_loop
|
||||
bn_done:
|
||||
movs r0, #0
|
||||
pop {r4, pc}
|
||||
ldr pc, =0x802f694
|
||||
|
||||
Reference in New Issue
Block a user