Initial commit
This commit is contained in:
19
kernel/boot.s
Normal file
19
kernel/boot.s
Normal file
@ -0,0 +1,19 @@
|
||||
.option norvc
|
||||
|
||||
.section .text.init
|
||||
|
||||
.global _start
|
||||
_start:
|
||||
|
||||
.option push
|
||||
.option norelax
|
||||
la gp, _global_pointer
|
||||
.option pop
|
||||
|
||||
la sp, _stack_top
|
||||
la ra, 0f
|
||||
call kinit
|
||||
|
||||
0:
|
||||
wfi
|
||||
j 0b
|
Reference in New Issue
Block a user