Add a kernel ELF module and load it in a new process.
Don't yet jump to userspace.
This commit is contained in:
parent
f86bbe6ea9
commit
aefb4f082b
22 changed files with 223 additions and 16 deletions
10
zion/usr/crt0.s
Normal file
10
zion/usr/crt0.s
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.text
|
||||
|
||||
.global _start
|
||||
_start:
|
||||
call main
|
||||
call _exit
|
||||
|
||||
_exit:
|
||||
mov $1, %rdi
|
||||
syscall
|
||||
Loading…
Add table
Add a link
Reference in a new issue