minor fixes

This commit is contained in:
xamidev
2024-09-16 14:38:39 +02:00
parent e6f119236b
commit af716cb2ec
9 changed files with 38 additions and 8 deletions

View File

@@ -123,9 +123,9 @@ void kmain(multiboot2_info *mb_info)
void* binary_file = load_file_from_initrd((uint8_t*)initrd_addr, "./hello.bin");
if (binary_file == NULL)
{
printf("NOT LOADED...\n");
printf("[debug] Failed to load test program!\n");
} else {
printf("LOADED!\n");
printf("[debug] Test program loaded!\n");
}
void (*program_entry)() = (void (*)())binary_file;