C userspace programs
This commit is contained in:
10
ulib/_start.S
Normal file
10
ulib/_start.S
Normal file
@ -0,0 +1,10 @@
|
||||
#include <syscall/syscall.h>
|
||||
|
||||
.extern _premain
|
||||
|
||||
.global _start
|
||||
_start:
|
||||
call _premain
|
||||
|
||||
mov $SYS_QUITPROC, %rax
|
||||
int $0x80
|
Reference in New Issue
Block a user