Forgot to change kernel exit code back to 0

This commit is contained in:
pjht 2019-08-25 17:33:05 -05:00
parent 3ca8b5a232
commit c8a3a49b87

View File

@ -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();
} }