Load kernel on qemu/k210.
This commit is contained in:
parent
4480790386
commit
5b69a312ba
10 changed files with 1588 additions and 1 deletions
12
os/src/entry.asm
Normal file
12
os/src/entry.asm
Normal file
|
@ -0,0 +1,12 @@
|
|||
.section .text.entry
|
||||
.globl _start
|
||||
_start:
|
||||
la sp, boot_stack_top
|
||||
call rust_main
|
||||
|
||||
.section .bss.stack
|
||||
.globl boot_stack
|
||||
boot_stack:
|
||||
.space 4096 * 16
|
||||
.globl boot_stack_top
|
||||
boot_stack_top:
|
Loading…
Add table
Add a link
Reference in a new issue