Made user program more complicated
This commit is contained in:
parent
4c7a1330d0
commit
1511ba5731
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue