Interrupt handlers are busted but only break when ran
oh yea and putch was added to stlio
This commit is contained in:
parent
fb1b7c868b
commit
677c53165d
@ -15,7 +15,7 @@ struct cpu_reg_state {
|
|||||||
u32 ebx, edx, ecx, eax;
|
u32 ebx, edx, ecx, eax;
|
||||||
u32 int_no, err_code; // pushed by each interrupt dispatcher
|
u32 int_no, err_code; // pushed by each interrupt dispatcher
|
||||||
u32 eip, cs, eflags, useresp, ss; // processor pushes this automatically
|
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
|
#define IDT_SIZE 256
|
||||||
|
Loading…
Reference in New Issue
Block a user