1#ifndef MUSHOS_INTERRUPTION_TABLES_H
2#define MUSHOS_INTERRUPTION_TABLES_H
4#include "../../lib/base/generic.h"
21 IDT_entry entries [256];
22 IDT_descriptor descriptor;
25void init_interruptions();
26void init_debug_handler();
30 u_dword edi, esi, ebp, esp_plus, ebx, edx, ecx, eax;
31 u_dword int_no, err_code;
32 u_dword eip, cs, eflags;
35typedef void (*interruption_handler)(
registers* regs);
36void set_interrupt_handler(u_byte n, interruption_handler handler);
37void silence_interrupt(u_byte n);
u_dword size(void *structure)