xref: /trueos/sys/compat/mach/mach_convert.c (revision e0e8500bfeae14eb937df4a49ccc5e78fd5d7ae4)
1 
2 #include <sys/cdefs.h>
3 #include <sys/types.h>
4 #include <sys/param.h>
5 
6 #include <sys/mach/mach_types.h>
7 #include <sys/mach/ipc_host.h>
8 #include <sys/mach/ipc_sync.h>
9 #include <sys/mach/ipc_tt.h>
10 #include <sys/mach/ipc/ipc_voucher.h>
11 #include <sys/mach/task.h>
12 
13 ipc_port_t
convert_clock_ctrl_to_port(mach_clock_t clock)14 convert_clock_ctrl_to_port(mach_clock_t clock)
15 {
16 	return (NULL);
17 }
18 
19 ipc_port_t
convert_clock_to_port(mach_clock_t clock)20 convert_clock_to_port(mach_clock_t clock)
21 {
22 	return (NULL);
23 }
24 
25 vm_map_t
convert_port_entry_to_map(ipc_port_t port)26 convert_port_entry_to_map(ipc_port_t port)
27 {
28 	return (NULL);
29 }
30 
31 
32 mach_clock_t
convert_port_to_clock(ipc_port_t port)33 convert_port_to_clock(ipc_port_t port)
34 {
35 	return (NULL);
36 }
37 
38 semaphore_t
convert_port_to_semaphore(ipc_port_t port)39 convert_port_to_semaphore(ipc_port_t port)
40 {
41 
42 	return (NULL);
43 }
44 
45 task_name_t
convert_port_to_task_name(ipc_port_t port)46 convert_port_to_task_name(ipc_port_t port)
47 {
48 
49 	return (NULL);
50 }
51 
52 task_suspension_token_t
convert_port_to_task_suspension_token(ipc_port_t port)53 convert_port_to_task_suspension_token(ipc_port_t port)
54 {
55 
56 	return (NULL);
57 }
58 
59 ipc_voucher_t
convert_port_to_voucher(ipc_port_t port)60 convert_port_to_voucher(ipc_port_t port)
61 {
62 
63 	return (NULL);
64 }
65 
66 ipc_port_t
convert_semaphore_to_port(semaphore_t sema)67 convert_semaphore_to_port(semaphore_t sema)
68 {
69 
70 	return (NULL);
71 }
72 
73 ipc_port_t
convert_task_suspension_token_to_port(task_suspension_token_t token)74 convert_task_suspension_token_to_port(task_suspension_token_t token)
75 {
76 
77 	return (NULL);
78 }
79 
80 ipc_port_t
convert_voucher_attr_control_to_port(ipc_voucher_attr_control_t control)81 convert_voucher_attr_control_to_port(ipc_voucher_attr_control_t control)
82 {
83 
84 	return (NULL);
85 }
86 
87 ipc_port_t
convert_voucher_to_port(ipc_voucher_t voucher)88 convert_voucher_to_port(ipc_voucher_t voucher)
89 {
90 
91 	return (NULL);
92 }
93