Add null driver

This will be the target of our real ELF loader
This commit is contained in:
Justin C. Miller
2018-09-05 23:00:23 -07:00
parent 3f264b4490
commit 3d0b262435
4 changed files with 29 additions and 1 deletions

View 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