swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 1 | #include "kint.h" |
2 | #include "vga.h" | ||||
swissChili | 9b3584b | 2021-02-18 13:57:27 -0800 | [diff] [blame^] | 3 | #include "registers.h" |
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 4 | |
5 | void isr_handler(struct registers regs) | ||||
6 | { | ||||
swissChili | 0b35bf2 | 2021-02-18 12:49:40 -0800 | [diff] [blame] | 7 | vga_write("Interrupt triggered! "); |
8 | vga_putx(regs.interrupt_number); | ||||
9 | vga_write("\n"); | ||||
swissChili | d813792 | 2021-02-17 15:34:07 -0800 | [diff] [blame] | 10 | } |