mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
bootrom: fix mix of spaces & tabs
This commit is contained in:
parent
2d1a077ae4
commit
248a861613
4 changed files with 271 additions and 271 deletions
|
@ -12,40 +12,40 @@
|
|||
|
||||
.global flashstart
|
||||
flashstart:
|
||||
b reset
|
||||
b undefined_instruction
|
||||
b software_interrupt
|
||||
b prefetch_abort
|
||||
b data_abort
|
||||
b . @reserved
|
||||
ldr pc, [pc,#-0xF20] @ IRQ - read the AIC
|
||||
b fiq
|
||||
b reset
|
||||
b undefined_instruction
|
||||
b software_interrupt
|
||||
b prefetch_abort
|
||||
b data_abort
|
||||
b . @reserved
|
||||
ldr pc, [pc,#-0xF20] @ IRQ - read the AIC
|
||||
b fiq
|
||||
|
||||
reset:
|
||||
ldr sp, =_stack_end @ initialize stack pointer to top of RAM
|
||||
ldr sp, =_stack_end @ initialize stack pointer to top of RAM
|
||||
|
||||
@ copy bootloader to RAM (in case the user re-flashes the bootloader)
|
||||
ldr r0, =__bootphase2_src_start__
|
||||
ldr r1, =__bootphase2_start__
|
||||
ldr r2, =__bootphase2_end__
|
||||
@ copy bootloader to RAM (in case the user re-flashes the bootloader)
|
||||
ldr r0, =__bootphase2_src_start__
|
||||
ldr r1, =__bootphase2_start__
|
||||
ldr r2, =__bootphase2_end__
|
||||
1:
|
||||
ldr r3, [r0], #4
|
||||
str r3, [r1], #4
|
||||
cmp r1, r2
|
||||
blo 1b
|
||||
ldr r3, [r0], #4
|
||||
str r3, [r1], #4
|
||||
cmp r1, r2
|
||||
blo 1b
|
||||
|
||||
ldr r3, =ram_start @ start address of RAM bootloader
|
||||
bx r3 @ jump to it
|
||||
ldr r3, =ram_start @ start address of RAM bootloader
|
||||
bx r3 @ jump to it
|
||||
|
||||
.ltorg
|
||||
.ltorg
|
||||
|
||||
undefined_instruction:
|
||||
b .
|
||||
b .
|
||||
software_interrupt:
|
||||
b .
|
||||
b .
|
||||
prefetch_abort:
|
||||
b .
|
||||
b .
|
||||
data_abort:
|
||||
b .
|
||||
b .
|
||||
fiq:
|
||||
b .
|
||||
b .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue