diff options
author | dzwdz | 2021-08-22 11:58:47 +0200 |
---|---|---|
committer | dzwdz | 2021-08-22 11:58:47 +0200 |
commit | 175b575bbdca5d620c1ace1281568b2bb9c6b021 (patch) | |
tree | c2a660ca76031acb07c3b9648022b781dddfeb50 /src/kernel/arch/i386/interrupts | |
parent | 5aaf1d48ec052d1582eae2c7642adc8829a6711b (diff) |
kernel: implement assert
Diffstat (limited to 'src/kernel/arch/i386/interrupts')
-rw-r--r-- | src/kernel/arch/i386/interrupts/idt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/i386/interrupts/idt.c b/src/kernel/arch/i386/interrupts/idt.c index 0b327c8..75c221f 100644 --- a/src/kernel/arch/i386/interrupts/idt.c +++ b/src/kernel/arch/i386/interrupts/idt.c @@ -58,7 +58,7 @@ static void idt_load() { static void idt_test() { asm("int $0x34" : : : "memory"); - if (!isr_test_interrupt_called) panic(); + assert(isr_test_interrupt_called); } void idt_init() { |