blob: c8ded7c272c3820e26e0160a5fdb97ed10ed755e [file] [log] [blame]
#include "kint.h"
#include "vga.h"
struct registers
{
uint ds;
uint edi, esi, ebp, esp, ebx, edx, ecx, eax;
uint interrupt_number, error_code;
uint eip, cs, eflags, useresp, ss;
};
void isr_handler(struct registers regs)
{
vga_write("Interrupt triggered! ");
vga_putx(regs.interrupt_number);
vga_write("\n");
}