Forgot to change kernel exit code back to 0
This commit is contained in:
parent
3ca8b5a232
commit
c8a3a49b87
@ -106,7 +106,7 @@ void kmain(struct multiboot_boot_header_tag* hdr) {
|
|||||||
memcpy(initrd2,initrd,initrd_sz);
|
memcpy(initrd2,initrd,initrd_sz);
|
||||||
initrd2=put_data(cr3,initrd2,initrd_sz);
|
initrd2=put_data(cr3,initrd2,initrd_sz);
|
||||||
createTaskCr3Param((void*)header.entry,cr3,(uint32_t)initrd2,initrd_sz);
|
createTaskCr3Param((void*)header.entry,cr3,(uint32_t)initrd2,initrd_sz);
|
||||||
exit(1);
|
exit(0);
|
||||||
for(;;) {
|
for(;;) {
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user