From 677c53165d224341edb86a4151994face0fbc5f6 Mon Sep 17 00:00:00 2001 From: shockrahwow Date: Sun, 27 Oct 2019 22:07:31 -0700 Subject: [PATCH] Interrupt handlers are busted but only break when ran oh yea and putch was added to stlio --- interrupts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interrupts.h b/interrupts.h index 09c0a21..7e9c082 100644 --- a/interrupts.h +++ b/interrupts.h @@ -15,7 +15,7 @@ struct cpu_reg_state { u32 ebx, edx, ecx, eax; u32 int_no, err_code; // pushed by each interrupt dispatcher u32 eip, cs, eflags, useresp, ss; // processor pushes this automatically -};//__attribute__((packed)); // we shouldn't need packing since everythign is dwords here +}__attribute__((packed)); // we shouldn't need packing since everythign is dwords here #define IDT_SIZE 256