14 lines
234 B
C
14 lines
234 B
C
|
#ifndef _IDT_H
|
||
|
#define _IDT_H
|
||
|
|
||
|
#include <types.h>
|
||
|
|
||
|
|
||
|
void idt_init(void);
|
||
|
void pic_remap(void);
|
||
|
void idt_set_descriptor(uint8_t vector, void* isr, uint8_t flags);
|
||
|
void exception_dispatcher(uint32_t int_no, uint32_t err_code);
|
||
|
|
||
|
|
||
|
#endif
|