parent
1611bcb91f
commit
de7d9a1b71
@ -1,13 +1,8 @@
|
||||
.section .text,"ax",%progbits
|
||||
.globl kern_entry
|
||||
kern_entry:
|
||||
# la sp, bootstacktop
|
||||
auipc sp, %hi(bootstacktop)
|
||||
addi sp, sp, %lo(bootstacktop)
|
||||
|
||||
# tail rust_main
|
||||
auipc t1, %hi(rust_main)
|
||||
jalr zero, t1, %lo(rust_main)
|
||||
la sp, bootstacktop
|
||||
tail rust_main
|
||||
|
||||
.section .data
|
||||
.align 12 #PGSHIFT
|
Loading…
Reference in new issue