feat(userspace): add ring-3 runtime startup and syscall wrappers
This commit is contained in:
1 parent
dc5afa0250
commit
b15dfc048a
4 files changed
+186
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
.section .text
|
||||
.global _start
|
||||
_start:
|
||||
xorq %rbp, %rbp
|
||||
call main
|
||||
movq %rax, %rdi
|
||||
movq $0, %rax
|
||||
int $0x80
|
||||
1:
|
||||
jmp 1b
|
||||
|
||||
.section .note.GNU-stack, "", @progbits
|
||||
Reference in new issue
Block a user