Made user program more complicated

This commit is contained in:
vanten-s 2024-08-10 18:08:34 +02:00
parent 4c7a1330d0
commit 1511ba5731
Signed by: vanten-s
GPG key ID: DE3060396884D3F2

View file

@ -17,7 +17,8 @@ uint8_t program[] = {
0xcd, 0x80, // int 0x80
0xba, 0x00, 0x00, 0x00, 0x00, // mov 0, %edx
0xcd, 0x80, // int 0x80
0xeb, 0xfe, // jmp .
0xb9, 0x00, 0x00, 0x80, 0x00, // mov $start, %ecx
0xff, 0xe1, // jmp *%ecx
};
void kernel_main(void)