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