matos/core/interrupt.h

14 lines
377 B
C
Raw Normal View History

2018-07-20 15:41:58 +02:00
#pragma once
#include "stdarg.h"
2018-07-20 15:41:58 +02:00
struct interrupt_frame;
//Exception
void print_handler(struct interrupt_frame *frame, ulong error_code);
2018-11-13 18:02:47 +01:00
void pagefault_handler(struct interrupt_frame *frame, ulong error_code);
2018-07-20 15:41:58 +02:00
//IRQ
void keyboard_handler(struct interrupt_frame *frame);
void timer_handler(struct interrupt_frame *frame);
void serial_handler(struct interrupt_frame *frame);