summaryrefslogtreecommitdiff
path: root/src/arch/i386/interrupts/isr.h
blob: 150fc4697eebc41f22156dae3308a880548b173a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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_general_protection_fault(struct interrupt_frame *frame);

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