Files
Espresso/include/drivers/idt.h

19 lines
243 B
C
Raw Normal View History

2025-06-13 18:03:39 -05:00
#ifndef _IDT_H
#define _IDT_H
2026-03-20 16:57:08 -05:00
#include <drivers/irq.h>
2025-06-13 18:03:39 -05:00
#include <types.h>
void idt_init(void);
2026-03-20 16:57:08 -05:00
2025-06-13 18:03:39 -05:00
void pic_remap(void);
2026-03-20 16:57:08 -05:00
2025-06-13 18:03:39 -05:00
void idt_set_descriptor(uint8_t vector, void* isr, uint8_t flags);
2026-03-20 16:57:08 -05:00
void exception_handler(registers_t* regs);
2025-06-13 18:03:39 -05:00
#endif