summaryrefslogtreecommitdiff
path: root/include/kernel/interrupt.h
blob: b707fe72f12aa66be0e5c762f061de6ffeab5a0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef KERNEL_INTERRUPT_H
#define KERNEL_INTERRUPT_H

#include <kernel/asm.h>
#include <stdint.h>
#include <stddef.h>

void register_isr_handler(unsigned int isr, void (*handler)(struct isr_frame *frame));
void clear_isr_handler(unsigned int isr);

void isr_dispatch(struct isr_frame frame);

#endif