Commit 133caddd by malcolm

stuff

parent eea26fd9
Showing with 8 additions and 8 deletions
......@@ -54,14 +54,14 @@ void default_handler(struct reg_state reg, uint32_t interrupt, uint32_t error, s
}*/
if(interrupt<32)
stack.eip+=2;
serial_writestring("int caught ");
char f[20];
serial_val(interrupt);
serial_hexword(error);serial_writestring(" ");
serial_hexword(stack.eip);serial_writestring(" ");
serial_val(stack.cd);
serial_val(stack.eflags);
serial_writestring("\n");
//serial_writestring("int caught ");
//char f[20];
//serial_val(interrupt);
//serial_hexword(error);serial_writestring(" ");
//serial_hexword(stack.eip);serial_writestring(" ");
//serial_val(stack.cd);
//serial_val(stack.eflags);
//serial_writestring("\n");
if(handlers[interrupt]!=NULL)
{
handlers[interrupt](error);
......
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