feat: extend alarmdefault and argecho
This commit is contained in:
1 parent
4dee5e3009
commit
09239a27e8
5 files changed
+149
No files matched your search
@@ -2,6 +2,11 @@
|
||||
.global _start
|
||||
_start:
|
||||
xorq %rbp, %rbp
|
||||
/* Real x86_64 SysV process entry: rsp points at argc, with argv[0..]
|
||||
and a NULL terminator right above it (elfBuildInitialStack,
|
||||
elf.c/syscall.c doExec/doSpawn, kmain.c spawnUser). */
|
||||
movq (%rsp), %rdi
|
||||
leaq 8(%rsp), %rsi
|
||||
call main
|
||||
movq %rax, %rdi
|
||||
movq $0, %rax
|
||||
|
||||
Reference in new issue
Block a user