1 2 3 #include <sys/cdefs.h> 4 __FBSDID("$FreeBSD$"); 5 6 #include <sys/types.h> 7 #include <sys/malloc.h> 8 #include <sys/param.h> 9 #include <sys/kernel.h> 10 #include <sys/systm.h> 11 #include <sys/signal.h> 12 #include <sys/proc.h> 13 14 #include <sys/mach/mach_types.h> 15 16 17 #include <sys/mach/host_special_ports.h> 18 #include <sys/mach/host.h> 19 #include <sys/mach/mach_host_server.h> 20 21 host_data_t realhost; 22 23 int 24 host_create_mach_voucher( 25 host_t host, 26 mach_voucher_attr_raw_recipe_array_t recipes, 27 mach_msg_type_number_t recipesCnt, 28 ipc_voucher_t *voucher 29 ) 30 UNSUPPORTED; 31 32 int 33 host_get_clock_service( 34 host_t host, 35 clock_id_t clock_id, 36 clock_serv_t *clock_serv 37 ) 38 UNSUPPORTED; 39 40 int 41 host_info( 42 host_t host, 43 host_flavor_t flavor, 44 host_info_t host_info_out, 45 mach_msg_type_number_t *host_info_outCnt 46 ) 47 UNSUPPORTED; 48 49 int 50 host_kernel_version( 51 host_t host, 52 kernel_version_t kernel_version 53 ) 54 UNSUPPORTED; 55 56 int 57 host_page_size( 58 host_t host, 59 vm_size_t *out_page_size 60 ) 61 UNSUPPORTED; 62 63 int 64 host_processor_info( 65 host_t host, 66 processor_flavor_t flavor, 67 natural_t *out_processor_count, 68 processor_info_array_t *out_processor_info, 69 mach_msg_type_number_t *out_processor_infoCnt 70 ) 71 UNSUPPORTED; 72 73 int 74 host_register_mach_voucher_attr_manager( 75 host_t host, 76 mach_voucher_attr_manager_t attr_manager, 77 mach_voucher_attr_value_handle_t default_value, 78 mach_voucher_attr_key_t *new_key, 79 ipc_voucher_attr_control_t *new_attr_control 80 ) 81 UNSUPPORTED; 82 83 int 84 host_register_well_known_mach_voucher_attr_manager( 85 host_t host, 86 mach_voucher_attr_manager_t attr_manager, 87 mach_voucher_attr_value_handle_t default_value, 88 mach_voucher_attr_key_t key, 89 ipc_voucher_attr_control_t *new_attr_control 90 ) 91 UNSUPPORTED; 92 93 int 94 host_request_notification( 95 host_t host, 96 host_flavor_t notify_type, 97 mach_port_t notify_port 98 ) 99 UNSUPPORTED; 100 101 int 102 host_statistics( 103 host_t host_priv, 104 host_flavor_t flavor, 105 host_info_t host_info_out, 106 mach_msg_type_number_t *host_info_outCnt 107 ) 108 UNSUPPORTED; 109 110 int 111 host_statistics64( 112 host_t host_priv, 113 host_flavor_t flavor, 114 host_info64_t host_info64_out, 115 mach_msg_type_number_t *host_info64_outCnt 116 ) 117 UNSUPPORTED; 118 119 int 120 host_virtual_physical_table_info( 121 host_t host, 122 hash_info_bucket_array_t *info, 123 mach_msg_type_number_t *infoCnt 124 ) 125 UNSUPPORTED; 126 127 int 128 mach_memory_object_memory_entry( 129 host_t host, 130 boolean_t internal, 131 vm_size_t size, 132 vm_prot_t permission, 133 memory_object_t pager, 134 mach_port_t *entry_handle 135 ) 136 UNSUPPORTED; 137 138 int 139 mach_memory_object_memory_entry_64( 140 host_t host, 141 boolean_t internal, 142 memory_object_size_t size, 143 vm_prot_t permission, 144 memory_object_t pager, 145 mach_port_t *entry_handle 146 ) 147 UNSUPPORTED; 148 149 int 150 mach_zone_info( 151 host_priv_t host, 152 mach_zone_name_array_t *names, 153 mach_msg_type_number_t *namesCnt, 154 mach_zone_info_array_t *info, 155 mach_msg_type_number_t *infoCnt 156 ) 157 UNSUPPORTED; 158 159 int 160 processor_set_create( 161 host_t host, 162 processor_set_t *new_set, 163 processor_set_name_t *new_name 164 ) 165 UNSUPPORTED; 166 167 168