Add null driver
This will be the target of our real ELF loader
This commit is contained in:
11
src/drivers/nulldrv/main.s
Normal file
11
src/drivers/nulldrv/main.s
Normal file
@@ -0,0 +1,11 @@
|
||||
global _start
|
||||
_start:
|
||||
xor rbp, rbp ; Sentinel rbp
|
||||
|
||||
pop rsi ; My PID
|
||||
mov rdi, 0 ; DEBUG syscall
|
||||
|
||||
.loop:
|
||||
syscall
|
||||
jmp .loop
|
||||
|
||||
Reference in New Issue
Block a user