X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fvmm_stubs.c;h=1afe27e43c8490dd265e2f0291283dd785035996;hb=f781366e2f701f53816ecdc1660ed63e49d5ed8c;hp=0dbe08137bc1394fc6c3aeb946de882944a2a723;hpb=adcadbb30bda4464104fdfaa83bb638347328b20;p=palacios-OLD.git diff --git a/palacios/src/geekos/vmm_stubs.c b/palacios/src/geekos/vmm_stubs.c index 0dbe081..1afe27e 100644 --- a/palacios/src/geekos/vmm_stubs.c +++ b/palacios/src/geekos/vmm_stubs.c @@ -112,7 +112,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 +120,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 +137,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 +152,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 +161,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) {