Commit 78ec6927 by malcolm

Try to execute next instruction on exception

parent 813958ac
Showing with 2 additions and 0 deletions
...@@ -27,6 +27,8 @@ void idt_install() ...@@ -27,6 +27,8 @@ void idt_install()
void default_handler(struct reg_state reg, uint32_t interrupt, uint32_t error, struct stack_state stack) void default_handler(struct reg_state reg, uint32_t interrupt, uint32_t error, struct stack_state stack)
{ {
if(interrupt<32)
stack.eip+=2;
serial_writestring("int caught "); serial_writestring("int caught ");
char f[20]; char f[20];
serial_val(interrupt); serial_val(interrupt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment