mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-05-15 09:01:27 -07:00
14 lines
248 B
C
14 lines
248 B
C
#ifndef ISR_H
|
|
#define ISR_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define MAX_INTERRUPTS 256
|
|
|
|
typedef void (*isr_callback_t)(void);
|
|
|
|
void isr_handler(uint32_t int_num, uint32_t err_code);
|
|
void register_interrupt_handler(uint8_t n, isr_callback_t handler);
|
|
|
|
#endif
|