Added Linux sources from kernel.org 6.1
This commit is contained in:
parent
087a18bcc7
commit
e8dce540b1
20
bye-loongarch.S
Normal file
20
bye-loongarch.S
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#include <sys/syscall.h>
|
||||||
|
|
||||||
|
.data
|
||||||
|
message: .asciz "bye-bye ...\n"
|
||||||
|
|
||||||
|
.text
|
||||||
|
.global _start
|
||||||
|
_start:
|
||||||
|
li.w $a7, __NR_write
|
||||||
|
li.w $a0, 1 # stdout file descriptor
|
||||||
|
la $a1, message
|
||||||
|
li.w $a2, 12 # message length
|
||||||
|
syscall 0x0
|
||||||
|
|
||||||
|
li.w $a7, __NR_exit
|
||||||
|
li.w $a0, 0
|
||||||
|
syscall 0x0
|
||||||
|
|
||||||
|
.section .note.GNU-stack,"",@progbits
|
||||||
|
|
BIN
kernel-source-6.1.0.tar.xz
Normal file
BIN
kernel-source-6.1.0.tar.xz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user