From: Peter Dinda Date: Mon, 21 Jul 2008 15:30:06 +0000 (+0000) Subject: new translation irq handler for new interrupt hooking mechanism X-Git-Tag: boots-puppy-iso-to-command-prompt~4 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=26b0824962312a5f72e008a659bf75b94832e04e new translation irq handler for new interrupt hooking mechanism --- diff --git a/palacios/include/geekos/vmm_stubs.h b/palacios/include/geekos/vmm_stubs.h index 396e614..3688ba9 100644 --- a/palacios/include/geekos/vmm_stubs.h +++ b/palacios/include/geekos/vmm_stubs.h @@ -8,6 +8,9 @@ struct guest_info; + + + void * Allocate_VMM_Pages(int num_pages); void Free_VMM_Page(void * page); @@ -17,10 +20,16 @@ void VMM_Free(void * addr); void * Identity(void *addr); + + int hook_irq_stub(struct guest_info * info, int irq); int ack_irq(int irq); + +int geekos_hook_interrupt_new(uint_t irq, void *opaque); + + unsigned int get_cpu_khz(); void Init_Stubs(); @@ -33,6 +42,7 @@ void Init_Stubs(); + #if 0 # define do_div(n,base) ({ \