diff options
author | dzwdz | 2021-09-20 20:32:58 +0200 |
---|---|---|
committer | dzwdz | 2021-09-20 20:32:58 +0200 |
commit | d192b15ee05b6d79c1503eb296fcab693a05dced (patch) | |
tree | 2030e86317f954f67a4e3c4fc0c61798d5555ab2 /src/kernel/arch/i386/boot.c | |
parent | 6371724809b057b25a4efd6c022e7d95068c42f1 (diff) |
create a few specialized panic()s
thanks to this i can tell which ones are placeholders, and which ones
should stay
Diffstat (limited to 'src/kernel/arch/i386/boot.c')
-rw-r--r-- | src/kernel/arch/i386/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/boot.c b/src/kernel/arch/i386/boot.c index 57f8ff5..94eefd6 100644 --- a/src/kernel/arch/i386/boot.c +++ b/src/kernel/arch/i386/boot.c @@ -19,7 +19,7 @@ void kmain_early(struct multiboot_info *multiboot) { struct multiboot_mod *module = &multiboot->mods[0]; if (multiboot->mods_count < 1) { tty_const("can't find init! "); - panic(); + panic_invalid_state(); // no init } info.init.at = module->start; info.init.size = module->end - module->start; |