X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..527f99514973766e9c0382a4d8550dfb00f54939:/osfmk/i386/machdep_call.h diff --git a/osfmk/i386/machdep_call.h b/osfmk/i386/machdep_call.h index bfc7c55ec..29a25f4d7 100644 --- a/osfmk/i386/machdep_call.h +++ b/osfmk/i386/machdep_call.h @@ -41,6 +41,7 @@ typedef union { kern_return_t (*args_1)(uint32_t); kern_return_t (*args64_1)(uint64_t); kern_return_t (*args_2)(uint32_t,uint32_t); + kern_return_t (*args64_2)(uint64_t,uint64_t); kern_return_t (*args_3)(uint32_t,uint32_t,uint32_t); kern_return_t (*args_4)(uint32_t,uint32_t,uint32_t,uint32_t); kern_return_t (*args_var)(uint32_t,...); @@ -63,13 +64,16 @@ typedef struct { int bsd_style; } machdep_call_t; -extern machdep_call_t machdep_call_table[]; -extern machdep_call_t machdep_call_table64[]; +extern const machdep_call_t machdep_call_table[]; +extern const machdep_call_t machdep_call_table64[]; extern int machdep_call_count; -extern kern_return_t thread_get_cthread_self(void); -extern kern_return_t thread_set_cthread_self(uint32_t); +#if HYPERVISOR +extern kern_return_t hv_task_trap(uint64_t,uint64_t); +extern kern_return_t hv_thread_trap(uint64_t,uint64_t); +#endif + extern kern_return_t thread_fast_set_cthread_self(uint32_t); extern kern_return_t thread_fast_set_cthread_self64(uint64_t); extern kern_return_t thread_set_user_ldt(uint32_t,uint32_t,uint32_t);