X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvmm_stubs.h;h=3688ba9f65c928e222d814c1ea341611b415ace0;hp=396e614ea82edcbb2a3a18151e3e0dac60122115;hb=26b0824962312a5f72e008a659bf75b94832e04e;hpb=2409e8ed894c3e10074d801faa0c2fc11f29ef6f 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) ({ \