/*
* This is the device-driver interface to the interrupt system.
* Copyright (c) 2001,2003 David H. Hovemeyer <daveho@cs.umd.edu>
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This is free software. You are permitted to use,
* redistribute, and modify it as specified in the file "COPYING".
*/
void Begin_IRQ(struct Interrupt_State* state)
{
-
+ // SerialPrint("Begin_IRQ for interrupt 0x%x\n",state->intNum);
}
/*
/*
* Keyboard driver
* Copyright (c) 2001,2004 David H. Hovemeyer <daveho@cs.umd.edu>
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This is free software. You are permitted to use,
* redistribute, and modify it as specified in the file "COPYING".
/* There is a byte available */
scanCode = In_Byte(KB_DATA);
raw_scancode=scanCode;
- //Print("Keyboard: status=0x%x, scancode=0x%x\n", raw_status, raw_scancode);
+ Print("Keyboard: status=0x%x, scancode=0x%x\n", raw_status, raw_scancode);
IO_Delay();
/*
* Print("code=%x%s\n", scanCode, (scanCode&0x80) ? " [release]" : "");
* Copyright (c) 2001,2003,2004 David H. Hovemeyer <daveho@cs.umd.edu>
* Copyright (c) 2003, Jeffrey K. Hollingsworth <hollings@cs.umd.edu>
* Copyright (c) 2004, Iulian Neamtiu <neamtiu@cs.umd.edu>
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
* This is free software. You are permitted to use,
* redistribute, and modify it as specified in the file "COPYING".
}
-
+ SerialPrint("RunVMM returned, spinning\n");
+ while (1) {}
TODO("Write a Virtual Machine Monitor");
*/
};
- struct vm_device * generic = create_generic(range,8, // THIS NUMBER IS CRITICAL
+ struct vm_device * generic = create_generic(range,4, // THIS NUMBER IS CRITICAL
NULL,0,NULL,0);
#endif
// no longer needed since we have a keyboard device
//hook_irq(&vm_info, 1);
-#if 1
+#if 0
// give floppy controller to vm
hook_irq(&vm_info, 6);