Skip to content

Commit

Permalink
actually flush whole bin
Browse files Browse the repository at this point in the history
  • Loading branch information
xzn committed Feb 3, 2024
1 parent 8c45305 commit 9965369
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/bootloader.s
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cmp r6, r7
bcc relocNotFinished
ldr r0, =0xffff8001
adr r1, _Reset
ldr r2, =__rel_dyn_end
ldr r2, =__bss_start
sub r2, r2, r1 /* r2 = codesize */
svc 0x54 /* flush instruction cache */
nop
Expand Down Expand Up @@ -70,5 +70,7 @@ __rel_dyn_start:
__rel_dyn_end:

.section .__bss_start
__bss_start:

.section .__bss_end
__bss_end:

0 comments on commit 9965369

Please sign in to comment.