matos/core/interrupt.h
2018-11-13 18:02:47 +01:00

14 lines
377 B
C

#pragma once
#include "stdarg.h"
struct interrupt_frame;
//Exception
void print_handler(struct interrupt_frame *frame, ulong error_code);
void pagefault_handler(struct interrupt_frame *frame, ulong error_code);
//IRQ
void keyboard_handler(struct interrupt_frame *frame);
void timer_handler(struct interrupt_frame *frame);
void serial_handler(struct interrupt_frame *frame);