Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


updated test_vm
[palacios.git] / misc / test_vm / src / geekos / trap.c
index 2085a99..7932c9a 100644 (file)
@@ -11,7 +11,7 @@
 #include <geekos/kthread.h>
 #include <geekos/defs.h>
 #include <geekos/trap.h>
-#include <geekos/serial.h>
+#include <geekos/debug.h>
 
 /*
  * TODO: need to add handlers for other exceptions (such as bounds
@@ -25,7 +25,7 @@
 static void GPF_Handler(struct Interrupt_State* state)
 {
     /* Send the thread to the reaper... */
-  SerialPrintLevel(1000,"Exception %d received, killing thread %p\n",state->intNum, g_currentThread);
+    PrintBoth("Exception %d received, killing thread %p\n",state->intNum, g_currentThread);
   Dump_Interrupt_State(state);
   
   Exit(-1);