28 #define io_wait() asm volatile ("outb $0x80") 134 kpanic(
"Division-by-zero");
158 kpanic(
"Invalid operation");
162 kpanic(
"Device not available");
170 kpanic(
"Coprocessor segment error");
178 kpanic(
"Segment not present");
182 kpanic(
"Stack segment error");
186 kpanic(
"General protection fault");
198 kpanic(
"Coprocessor error");
void do_general_protection()
void kpanic(const char *msg)
int serial_print(const char *msg)
void general_protection()
void segment_not_present()
idt_entry idt_entries[256]
void do_device_not_available()
int serial_println(const char *msg)
void do_segment_not_present()
void idt_set_gate(u8int idx, u32int base, u16int sel, u8int flags)
void device_not_available()
void do_coprocessor_segment()
void coprocessor_segment()