+/* Northwestern University */
+/* (c) 2008, Jack Lange <jarusl@cs.northwestern.edu> */
+
#include <geekos/vmm_stubs.h>
#include <geekos/serial.h>
#include <palacios/vm_guest.h>
}
+
+/*
static void pic_intr_handler(struct Interrupt_State * state) {
Begin_IRQ(state);
struct guest_info * info = irq_map[state->intNum - 32];
// 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;
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;
Enable_IRQ(irq);
return 0;
}
-
+*/
int geekos_hook_interrupt_new(uint_t irq, void * opaque)
{