mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-07-04 11:36:04 +08:00
add os[1-8]-ref for os refereces, add guide, add README
This commit is contained in:
12
os7-ref/src/entry.asm
Normal file
12
os7-ref/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:
|
||||
Reference in New Issue
Block a user