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.


added copyright tags
[palacios.git] / palacios / src / geekos / vmm_stubs.c
index 0dbe081..20c0c71 100644 (file)
@@ -1,3 +1,6 @@
+/* Northwestern University */
+/* (c) 2008, Jack Lange <jarusl@cs.northwestern.edu> */
+
 #include <geekos/vmm_stubs.h>
 #include <geekos/serial.h>
 #include <palacios/vm_guest.h>
@@ -112,7 +115,7 @@ static void translate_intr_handler(struct Interrupt_State *state)
   mystate.should_ack=0;
   mystate.opaque=my_opaque[mystate.irq];
 
-  PrintBoth("translate_intr_handler: opaque=0x%x\n",mystate.opaque);
+  //  PrintBoth("translate_intr_handler: opaque=0x%x\n",mystate.opaque);
 
   deliver_interrupt_to_vmm(&mystate);
 
@@ -120,6 +123,8 @@ static void translate_intr_handler(struct Interrupt_State *state)
 
 }
 
+
+/*
 static void pic_intr_handler(struct Interrupt_State * state) {
   Begin_IRQ(state);
   struct guest_info * info =   irq_map[state->intNum - 32];
@@ -135,11 +140,12 @@ static void pic_intr_handler(struct Interrupt_State * state) {
 
   // End_IRQ(state);
 }
-
+*/
 //
 //
 // I really don't know what the heck this is doing... PAD
 //
+/*
 int hook_irq_stub(struct guest_info * info, int irq) {
   if (irq_map[irq]) {
     return -1;
@@ -149,7 +155,7 @@ int hook_irq_stub(struct guest_info * info, int irq) {
   irq_map[irq] = info;
   volatile void *foo = pic_intr_handler;
 
-  /* This is disabled for the time being */
+  // This is disabled for the time being 
   foo = 0;
 
 
@@ -158,7 +164,7 @@ int hook_irq_stub(struct guest_info * info, int irq) {
   Enable_IRQ(irq);
   return 0;
 }
-
+*/
 
 int geekos_hook_interrupt_new(uint_t irq, void * opaque)
 {