try to fix page fault

This commit is contained in:
RaphProductions 2025-05-09 15:07:22 +02:00
parent 105a10aba3
commit 4309b666a4
8 changed files with 40 additions and 10 deletions

3
testing/build.sh Executable file
View file

@ -0,0 +1,3 @@
nasm -f elf64 test.asm -o test.o
ld -T link.ld -nostdlib --no-dynamic-linker --strip-all test.o -o sk-hello.elf
echo "Test executable has been built successfully."

Binary file not shown.

View file

@ -4,5 +4,7 @@ section .text
_start:
int 0x80
lol:
jmp lol
; tell the kernel to exit the process.
mov rax, 10
int 0x80
ret

Binary file not shown.