mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
fomu: crt0: minor text refactor
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
1882a87212
commit
f087cb1580
@ -6,13 +6,6 @@
|
||||
|
||||
_start:
|
||||
j crt_init
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
|
||||
.section .text
|
||||
.global trap_entry
|
||||
@ -53,9 +46,8 @@ trap_entry:
|
||||
lw x31, 0*4(sp)
|
||||
addi sp,sp,16*4
|
||||
mret
|
||||
.text
|
||||
|
||||
|
||||
.text
|
||||
crt_init:
|
||||
la sp, _estack - 4
|
||||
la a0, trap_entry
|
||||
@ -87,5 +79,5 @@ bss_done:
|
||||
csrw mie,a0
|
||||
|
||||
call main
|
||||
infinit_loop:
|
||||
j infinit_loop
|
||||
infinite_loop:
|
||||
j infinite_loop
|
||||
|
Loading…
x
Reference in New Issue
Block a user