X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=1b5cf44f241d8f7589673165e120f48d9bd96b90;hb=85c259546c85d19af43b443f9724c44caffb9b20;hp=3c023ff75765d68a042ca2ea4363f5f65a36e98d;hpb=4a3b35137e700165754d61c4e791c0a8e51c770c;p=palacios.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index 3c023ff..1b5cf44 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -18,6 +18,9 @@ #define V3_ADD_PCI_HW_DEV 55 #define V3_ADD_PCI_USER_DEV 56 +#define V3_DVFS_CTRL 60 + + /* VM Specific IOCTLs */ #define V3_VM_CONSOLE_CONNECT 20 #define V3_VM_STREAM_CONNECT 21 @@ -163,8 +166,11 @@ void *palacios_valloc(unsigned int size); // use instead of vmalloc void palacios_vfree(void *); // use instead of vfree void *palacios_vaddr_to_paddr(void *vaddr); void *palacios_paddr_to_vaddr(void *paddr); -void *palacios_start_kernel_thread(int (*fn)(void * arg), void *arg, char *thread_name); -void *palacios_start_thread_on_cpu(int cpu_id, int (*fn)(void * arg), void *arg, char *thread_name); +void palacios_xcall(int cpu_id, void (*fn)(void *arg), void *arg); +void *palacios_create_and_start_kernel_thread(int (*fn)(void * arg), void *arg, char *thread_name); +void *palacios_create_thread_on_cpu(int cpu_id, int (*fn)(void * arg), void *arg, char *thread_name); +void palacios_start_thread(void *thread_ptr); +void *palacios_creeate_and_start_thread_on_cpu(int cpu_id, int (*fn)(void * arg), void *arg, char *thread_name); int palacios_move_thread_to_cpu(int new_cpu_id, void *thread_ptr); void palacios_yield_cpu(void); void palacios_sleep_cpu(unsigned int us);