Load kernel on qemu/k210.

This commit is contained in:
Yifan Wu 2020-11-11 16:50:00 +08:00
parent 4480790386
commit 5b69a312ba
10 changed files with 1588 additions and 1 deletions

12
os/src/entry.asm Normal file
View 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: