summaryrefslogtreecommitdiff
path: root/kernel/isr.h
blob: 624e9ad878dbf2dde88b37e0e330cd25671513b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include <stdbool.h>

struct interrupt_frame;

extern bool isr_test_interrupt_called; // used in the self-test in idt.c

__attribute__((interrupt))
void isr_double_fault(struct interrupt_frame *frame);

__attribute__((interrupt))
void isr_test_interrupt(struct interrupt_frame *frame);