X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvmm_stubs.h;h=aedb3e37947f486c294ae0c4c0fb822abb8b414e;hb=d98e541db0a18647cdefbc17ad40c282189533aa;hp=396e614ea82edcbb2a3a18151e3e0dac60122115;hpb=d8fc6aa4bc2a5d9cec50923e9d2bd30f867dd50a;p=palacios.git diff --git a/palacios/include/geekos/vmm_stubs.h b/palacios/include/geekos/vmm_stubs.h index 396e614..aedb3e3 100644 --- a/palacios/include/geekos/vmm_stubs.h +++ b/palacios/include/geekos/vmm_stubs.h @@ -1,3 +1,6 @@ +/* (c) 2008, Jack Lange */ +/* (c) 2008, The V3VEE Project */ + #ifndef __VMM_STUBS_H #define __VMM_STUBS_H @@ -8,6 +11,9 @@ struct guest_info; + + + void * Allocate_VMM_Pages(int num_pages); void Free_VMM_Page(void * page); @@ -17,10 +23,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 +45,7 @@ void Init_Stubs(); + #if 0 # define do_div(n,base) ({ \