X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Finterfaces%2Fsw_intr.h;h=f09bfd020a2f0e693b137dfd20b021cfc5aacb5e;hb=9a32111c4074aafd55cd9590a24bd5c751a6fe61;hp=eb63cc9ebc95c33346cb970e6d1f83d948129963;hpb=e5649c2775438bbb04baf9a8bd53fa70363c4235;p=palacios.releases.git diff --git a/palacios/include/interfaces/sw_intr.h b/palacios/include/interfaces/sw_intr.h index eb63cc9..f09bfd0 100644 --- a/palacios/include/interfaces/sw_intr.h +++ b/palacios/include/interfaces/sw_intr.h @@ -25,7 +25,12 @@ int v3_handle_swintr (struct guest_info * core); -int v3_signal_swintr (struct guest_info * core, int vec); + +int v3_hook_swintr (struct guest_info * core, + uint8_t vector, + int (*handler)(struct guest_info * core, uint8_t vector, void * priv_data), + void * priv_data); +int v3_hook_passthrough_swintr (struct guest_info * core, uint8_t vector); #endif