diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-10-31 15:39:51 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-10-31 21:59:49 +0200 |
commit | cbd3cdf7cb34529e269bb27c654765a0c9c21799 (patch) | |
tree | 4ee555d5cb575af003e10e597666b4a7b17b17a7 /src/isr.c | |
parent | makefile: auto-generate OBJS from SRCS (diff) | |
download | kernel-cbd3cdf7cb34529e269bb27c654765a0c9c21799.tar.xz |
add ps2_keyboard driver
Diffstat (limited to 'src/isr.c')
-rw-r--r-- | src/isr.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/isr.c b/src/isr.c deleted file mode 100644 index b89ecd2..0000000 --- a/src/isr.c +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Interrupt Service Routines - */ - -#include <idt.h> -#include <stdio.h> -#include <sys/control.h> - -__attribute__((interrupt)) void -abort_handler(struct interrupt_frame *frame) -{ - printf("system abort\n"); - printf("ip: %x cs=%x\n", frame->ip, frame->cs); - printf("sp: %x ss=%x\n", frame->sp, frame->ss); - printf("flags: %x\n", frame->flags); - abort(); -} - -__attribute__((interrupt)) void -interrupt_handler(struct interrupt_frame *frame) -{ - printf("interrupt\n"); - abort(); -} - -__attribute__((interrupt)) void -interrupt_handler_e(struct interrupt_frame *frame, uint32_t error) -{ - printf("interrupt\n"); - abort(); -} - -__attribute__((interrupt)) void -syscall_handler(struct interrupt_frame *frame) -{ - printf("interrupt\n"); - abort(); -} |