summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/interrupts
diff options
context:
space:
mode:
authordzwdz2021-08-22 11:58:47 +0200
committerdzwdz2021-08-22 11:58:47 +0200
commit175b575bbdca5d620c1ace1281568b2bb9c6b021 (patch)
treec2a660ca76031acb07c3b9648022b781dddfeb50 /src/kernel/arch/i386/interrupts
parent5aaf1d48ec052d1582eae2c7642adc8829a6711b (diff)
kernel: implement assert
Diffstat (limited to 'src/kernel/arch/i386/interrupts')
-rw-r--r--src/kernel/arch/i386/interrupts/idt.c2
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() {