X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fvmm_stubs.c;h=20c0c7153e54c3e8e648d48cc64efd2058f366f2;hb=4f7c3b759e3889870c5b5e7d09b3ffcc168e5632;hp=f4196136745d0105b27cd782d71fc7752903068f;hpb=cbf35ad72de3a7a1f6eee3e8b2b35d7f31df22a5;p=palacios.git diff --git a/palacios/src/geekos/vmm_stubs.c b/palacios/src/geekos/vmm_stubs.c index f419613..20c0c71 100644 --- a/palacios/src/geekos/vmm_stubs.c +++ b/palacios/src/geekos/vmm_stubs.c @@ -1,3 +1,6 @@ +/* Northwestern University */ +/* (c) 2008, Jack Lange */ + #include #include #include @@ -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) {