init repo

This commit is contained in:
TOKISAKIX\21168
2023-12-11 21:50:22 +08:00
commit 910ee11168
449 changed files with 41705 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
.section .text.init
.globl _start
_start:
li sp, 4092
call main
li x1, 0xBABECAFE
write_tohost:
sw x1, tohost, x0
loop:
j loop
.pushsection .tohost,"aw",@progbits
.align 4
.global tohost
tohost: .word 0
.popsection