-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathidt_handler.h
31 lines (29 loc) · 870 Bytes
/
idt_handler.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _IDT_HANDLER_H
#define _IDT_HANDLER_H
#include "types.h"
#include "task.h"
//system internal interrupts and expections
extern void divide_error(void);
extern void debug(void);
extern void nmi(void);
extern void int3(void);
extern void overflow(void);
extern void bounds(void);
extern void invalid_op(void);
extern void device_not_available(void);
extern void doublefault_fn(void);
extern void coprocessor_segment_overrun(void);
extern void invalid_TSS(void);
extern void segment_not_present(void);
extern void stack_segment(void);
extern void general_protection(void);
extern void page_fault(void);
extern void coprocessor_error(void);
extern void alignment_check(void);
extern void machine_check(void);
extern void simd_coprocessor_error(void);
//interrupt of outer devices
extern void do_irq1(void);
extern void do_irq8(void);
extern void do_irq0();
#endif