Root/
Source at commit 1270 created 12 years 11 months ago. By meklort, Add arm headers. update makefiles | |
---|---|
1 | #ifndef␉_vm_map_user_␊ |
2 | #define␉_vm_map_user_␊ |
3 | ␊ |
4 | /* Module vm_map */␊ |
5 | ␊ |
6 | #include <string.h>␊ |
7 | #include <mach/ndr.h>␊ |
8 | #include <mach/boolean.h>␊ |
9 | #include <mach/kern_return.h>␊ |
10 | #include <mach/notify.h>␊ |
11 | #include <mach/mach_types.h>␊ |
12 | #include <mach/message.h>␊ |
13 | #include <mach/mig_errors.h>␊ |
14 | #include <mach/port.h>␊ |
15 | ␊ |
16 | #ifdef AUTOTEST␊ |
17 | #ifndef FUNCTION_PTR_T␊ |
18 | #define FUNCTION_PTR_T␊ |
19 | typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);␊ |
20 | typedef struct {␊ |
21 | char *name;␊ |
22 | function_ptr_t function;␊ |
23 | } function_table_entry;␊ |
24 | typedef function_table_entry *function_table_t;␊ |
25 | #endif /* FUNCTION_PTR_T */␊ |
26 | #endif /* AUTOTEST */␊ |
27 | ␊ |
28 | #ifndef␉vm_map_MSG_COUNT␊ |
29 | #define␉vm_map_MSG_COUNT␉31␊ |
30 | #endif␉/* vm_map_MSG_COUNT */␊ |
31 | ␊ |
32 | #include <mach/std_types.h>␊ |
33 | #include <mach/mig.h>␊ |
34 | #include <mach/mach_types.h>␊ |
35 | ␊ |
36 | #ifdef __BeforeMigUserHeader␊ |
37 | __BeforeMigUserHeader␊ |
38 | #endif /* __BeforeMigUserHeader */␊ |
39 | ␊ |
40 | #include <sys/cdefs.h>␊ |
41 | __BEGIN_DECLS␊ |
42 | ␊ |
43 | ␊ |
44 | /* Routine vm_region */␊ |
45 | #ifdef␉mig_external␊ |
46 | mig_external␊ |
47 | #else␊ |
48 | extern␊ |
49 | #endif␉/* mig_external */␊ |
50 | kern_return_t vm_region␊ |
51 | (␊ |
52 | ␉vm_map_t target_task,␊ |
53 | ␉vm_address_t *address,␊ |
54 | ␉vm_size_t *size,␊ |
55 | ␉vm_region_flavor_t flavor,␊ |
56 | ␉vm_region_info_t info,␊ |
57 | ␉mach_msg_type_number_t *infoCnt,␊ |
58 | ␉mach_port_t *object_name␊ |
59 | );␊ |
60 | ␊ |
61 | /* Routine vm_allocate */␊ |
62 | #ifdef␉mig_external␊ |
63 | mig_external␊ |
64 | #else␊ |
65 | extern␊ |
66 | #endif␉/* mig_external */␊ |
67 | kern_return_t vm_allocate␊ |
68 | (␊ |
69 | ␉vm_map_t target_task,␊ |
70 | ␉vm_address_t *address,␊ |
71 | ␉vm_size_t size,␊ |
72 | ␉int flags␊ |
73 | );␊ |
74 | ␊ |
75 | /* Routine vm_deallocate */␊ |
76 | #ifdef␉mig_external␊ |
77 | mig_external␊ |
78 | #else␊ |
79 | extern␊ |
80 | #endif␉/* mig_external */␊ |
81 | kern_return_t vm_deallocate␊ |
82 | (␊ |
83 | ␉vm_map_t target_task,␊ |
84 | ␉vm_address_t address,␊ |
85 | ␉vm_size_t size␊ |
86 | );␊ |
87 | ␊ |
88 | /* Routine vm_protect */␊ |
89 | #ifdef␉mig_external␊ |
90 | mig_external␊ |
91 | #else␊ |
92 | extern␊ |
93 | #endif␉/* mig_external */␊ |
94 | kern_return_t vm_protect␊ |
95 | (␊ |
96 | ␉vm_map_t target_task,␊ |
97 | ␉vm_address_t address,␊ |
98 | ␉vm_size_t size,␊ |
99 | ␉boolean_t set_maximum,␊ |
100 | ␉vm_prot_t new_protection␊ |
101 | );␊ |
102 | ␊ |
103 | /* Routine vm_inherit */␊ |
104 | #ifdef␉mig_external␊ |
105 | mig_external␊ |
106 | #else␊ |
107 | extern␊ |
108 | #endif␉/* mig_external */␊ |
109 | kern_return_t vm_inherit␊ |
110 | (␊ |
111 | ␉vm_map_t target_task,␊ |
112 | ␉vm_address_t address,␊ |
113 | ␉vm_size_t size,␊ |
114 | ␉vm_inherit_t new_inheritance␊ |
115 | );␊ |
116 | ␊ |
117 | /* Routine vm_read */␊ |
118 | #ifdef␉mig_external␊ |
119 | mig_external␊ |
120 | #else␊ |
121 | extern␊ |
122 | #endif␉/* mig_external */␊ |
123 | kern_return_t vm_read␊ |
124 | (␊ |
125 | ␉vm_map_t target_task,␊ |
126 | ␉vm_address_t address,␊ |
127 | ␉vm_size_t size,␊ |
128 | ␉vm_offset_t *data,␊ |
129 | ␉mach_msg_type_number_t *dataCnt␊ |
130 | );␊ |
131 | ␊ |
132 | /* Routine vm_read_list */␊ |
133 | #ifdef␉mig_external␊ |
134 | mig_external␊ |
135 | #else␊ |
136 | extern␊ |
137 | #endif␉/* mig_external */␊ |
138 | kern_return_t vm_read_list␊ |
139 | (␊ |
140 | ␉vm_map_t target_task,␊ |
141 | ␉vm_read_entry_t data_list,␊ |
142 | ␉natural_t count␊ |
143 | );␊ |
144 | ␊ |
145 | /* Routine vm_write */␊ |
146 | #ifdef␉mig_external␊ |
147 | mig_external␊ |
148 | #else␊ |
149 | extern␊ |
150 | #endif␉/* mig_external */␊ |
151 | kern_return_t vm_write␊ |
152 | (␊ |
153 | ␉vm_map_t target_task,␊ |
154 | ␉vm_address_t address,␊ |
155 | ␉vm_offset_t data,␊ |
156 | ␉mach_msg_type_number_t dataCnt␊ |
157 | );␊ |
158 | ␊ |
159 | /* Routine vm_copy */␊ |
160 | #ifdef␉mig_external␊ |
161 | mig_external␊ |
162 | #else␊ |
163 | extern␊ |
164 | #endif␉/* mig_external */␊ |
165 | kern_return_t vm_copy␊ |
166 | (␊ |
167 | ␉vm_map_t target_task,␊ |
168 | ␉vm_address_t source_address,␊ |
169 | ␉vm_size_t size,␊ |
170 | ␉vm_address_t dest_address␊ |
171 | );␊ |
172 | ␊ |
173 | /* Routine vm_read_overwrite */␊ |
174 | #ifdef␉mig_external␊ |
175 | mig_external␊ |
176 | #else␊ |
177 | extern␊ |
178 | #endif␉/* mig_external */␊ |
179 | kern_return_t vm_read_overwrite␊ |
180 | (␊ |
181 | ␉vm_map_t target_task,␊ |
182 | ␉vm_address_t address,␊ |
183 | ␉vm_size_t size,␊ |
184 | ␉vm_address_t data,␊ |
185 | ␉vm_size_t *outsize␊ |
186 | );␊ |
187 | ␊ |
188 | /* Routine vm_msync */␊ |
189 | #ifdef␉mig_external␊ |
190 | mig_external␊ |
191 | #else␊ |
192 | extern␊ |
193 | #endif␉/* mig_external */␊ |
194 | kern_return_t vm_msync␊ |
195 | (␊ |
196 | ␉vm_map_t target_task,␊ |
197 | ␉vm_address_t address,␊ |
198 | ␉vm_size_t size,␊ |
199 | ␉vm_sync_t sync_flags␊ |
200 | );␊ |
201 | ␊ |
202 | /* Routine vm_behavior_set */␊ |
203 | #ifdef␉mig_external␊ |
204 | mig_external␊ |
205 | #else␊ |
206 | extern␊ |
207 | #endif␉/* mig_external */␊ |
208 | kern_return_t vm_behavior_set␊ |
209 | (␊ |
210 | ␉vm_map_t target_task,␊ |
211 | ␉vm_address_t address,␊ |
212 | ␉vm_size_t size,␊ |
213 | ␉vm_behavior_t new_behavior␊ |
214 | );␊ |
215 | ␊ |
216 | /* Routine vm_map */␊ |
217 | #ifdef␉mig_external␊ |
218 | mig_external␊ |
219 | #else␊ |
220 | extern␊ |
221 | #endif␉/* mig_external */␊ |
222 | kern_return_t vm_map␊ |
223 | (␊ |
224 | ␉vm_map_t target_task,␊ |
225 | ␉vm_address_t *address,␊ |
226 | ␉vm_size_t size,␊ |
227 | ␉vm_address_t mask,␊ |
228 | ␉int flags,␊ |
229 | ␉mem_entry_name_port_t object,␊ |
230 | ␉vm_offset_t offset,␊ |
231 | ␉boolean_t copy,␊ |
232 | ␉vm_prot_t cur_protection,␊ |
233 | ␉vm_prot_t max_protection,␊ |
234 | ␉vm_inherit_t inheritance␊ |
235 | );␊ |
236 | ␊ |
237 | /* Routine vm_machine_attribute */␊ |
238 | #ifdef␉mig_external␊ |
239 | mig_external␊ |
240 | #else␊ |
241 | extern␊ |
242 | #endif␉/* mig_external */␊ |
243 | kern_return_t vm_machine_attribute␊ |
244 | (␊ |
245 | ␉vm_map_t target_task,␊ |
246 | ␉vm_address_t address,␊ |
247 | ␉vm_size_t size,␊ |
248 | ␉vm_machine_attribute_t attribute,␊ |
249 | ␉vm_machine_attribute_val_t *value␊ |
250 | );␊ |
251 | ␊ |
252 | /* Routine vm_remap */␊ |
253 | #ifdef␉mig_external␊ |
254 | mig_external␊ |
255 | #else␊ |
256 | extern␊ |
257 | #endif␉/* mig_external */␊ |
258 | kern_return_t vm_remap␊ |
259 | (␊ |
260 | ␉vm_map_t target_task,␊ |
261 | ␉vm_address_t *target_address,␊ |
262 | ␉vm_size_t size,␊ |
263 | ␉vm_address_t mask,␊ |
264 | ␉boolean_t anywhere,␊ |
265 | ␉vm_map_t src_task,␊ |
266 | ␉vm_address_t src_address,␊ |
267 | ␉boolean_t copy,␊ |
268 | ␉vm_prot_t *cur_protection,␊ |
269 | ␉vm_prot_t *max_protection,␊ |
270 | ␉vm_inherit_t inheritance␊ |
271 | );␊ |
272 | ␊ |
273 | /* Routine task_wire */␊ |
274 | #ifdef␉mig_external␊ |
275 | mig_external␊ |
276 | #else␊ |
277 | extern␊ |
278 | #endif␉/* mig_external */␊ |
279 | kern_return_t task_wire␊ |
280 | (␊ |
281 | ␉vm_map_t target_task,␊ |
282 | ␉boolean_t must_wire␊ |
283 | );␊ |
284 | ␊ |
285 | /* Routine mach_make_memory_entry */␊ |
286 | #ifdef␉mig_external␊ |
287 | mig_external␊ |
288 | #else␊ |
289 | extern␊ |
290 | #endif␉/* mig_external */␊ |
291 | kern_return_t mach_make_memory_entry␊ |
292 | (␊ |
293 | ␉vm_map_t target_task,␊ |
294 | ␉vm_size_t *size,␊ |
295 | ␉vm_offset_t offset,␊ |
296 | ␉vm_prot_t permission,␊ |
297 | ␉mem_entry_name_port_t *object_handle,␊ |
298 | ␉mem_entry_name_port_t parent_entry␊ |
299 | );␊ |
300 | ␊ |
301 | /* Routine vm_map_page_query */␊ |
302 | #ifdef␉mig_external␊ |
303 | mig_external␊ |
304 | #else␊ |
305 | extern␊ |
306 | #endif␉/* mig_external */␊ |
307 | kern_return_t vm_map_page_query␊ |
308 | (␊ |
309 | ␉vm_map_t target_map,␊ |
310 | ␉vm_offset_t offset,␊ |
311 | ␉integer_t *disposition,␊ |
312 | ␉integer_t *ref_count␊ |
313 | );␊ |
314 | ␊ |
315 | ␊ |
316 | ␊ |
317 | /* Routine vm_region_recurse */␊ |
318 | #ifdef␉mig_external␊ |
319 | mig_external␊ |
320 | #else␊ |
321 | extern␊ |
322 | #endif␉/* mig_external */␊ |
323 | kern_return_t vm_region_recurse␊ |
324 | (␊ |
325 | ␉vm_map_t target_task,␊ |
326 | ␉vm_address_t *address,␊ |
327 | ␉vm_size_t *size,␊ |
328 | ␉natural_t *nesting_depth,␊ |
329 | ␉vm_region_recurse_info_t info,␊ |
330 | ␉mach_msg_type_number_t *infoCnt␊ |
331 | );␊ |
332 | ␊ |
333 | /* Routine vm_region_recurse_64 */␊ |
334 | #ifdef␉mig_external␊ |
335 | mig_external␊ |
336 | #else␊ |
337 | extern␊ |
338 | #endif␉/* mig_external */␊ |
339 | kern_return_t vm_region_recurse_64␊ |
340 | (␊ |
341 | ␉vm_map_t target_task,␊ |
342 | ␉vm_address_t *address,␊ |
343 | ␉vm_size_t *size,␊ |
344 | ␉natural_t *nesting_depth,␊ |
345 | ␉vm_region_recurse_info_t info,␊ |
346 | ␉mach_msg_type_number_t *infoCnt␊ |
347 | );␊ |
348 | ␊ |
349 | ␊ |
350 | ␊ |
351 | /* Routine vm_region_64 */␊ |
352 | #ifdef␉mig_external␊ |
353 | mig_external␊ |
354 | #else␊ |
355 | extern␊ |
356 | #endif␉/* mig_external */␊ |
357 | kern_return_t vm_region_64␊ |
358 | (␊ |
359 | ␉vm_map_t target_task,␊ |
360 | ␉vm_address_t *address,␊ |
361 | ␉vm_size_t *size,␊ |
362 | ␉vm_region_flavor_t flavor,␊ |
363 | ␉vm_region_info_t info,␊ |
364 | ␉mach_msg_type_number_t *infoCnt,␊ |
365 | ␉mach_port_t *object_name␊ |
366 | );␊ |
367 | ␊ |
368 | /* Routine mach_make_memory_entry_64 */␊ |
369 | #ifdef␉mig_external␊ |
370 | mig_external␊ |
371 | #else␊ |
372 | extern␊ |
373 | #endif␉/* mig_external */␊ |
374 | kern_return_t mach_make_memory_entry_64␊ |
375 | (␊ |
376 | ␉vm_map_t target_task,␊ |
377 | ␉memory_object_size_t *size,␊ |
378 | ␉memory_object_offset_t offset,␊ |
379 | ␉vm_prot_t permission,␊ |
380 | ␉mach_port_t *object_handle,␊ |
381 | ␉mem_entry_name_port_t parent_entry␊ |
382 | );␊ |
383 | ␊ |
384 | /* Routine vm_map_64 */␊ |
385 | #ifdef␉mig_external␊ |
386 | mig_external␊ |
387 | #else␊ |
388 | extern␊ |
389 | #endif␉/* mig_external */␊ |
390 | kern_return_t vm_map_64␊ |
391 | (␊ |
392 | ␉vm_map_t target_task,␊ |
393 | ␉vm_address_t *address,␊ |
394 | ␉vm_size_t size,␊ |
395 | ␉vm_address_t mask,␊ |
396 | ␉int flags,␊ |
397 | ␉mem_entry_name_port_t object,␊ |
398 | ␉memory_object_offset_t offset,␊ |
399 | ␉boolean_t copy,␊ |
400 | ␉vm_prot_t cur_protection,␊ |
401 | ␉vm_prot_t max_protection,␊ |
402 | ␉vm_inherit_t inheritance␊ |
403 | );␊ |
404 | ␊ |
405 | /* Routine vm_purgable_control */␊ |
406 | #ifdef␉mig_external␊ |
407 | mig_external␊ |
408 | #else␊ |
409 | extern␊ |
410 | #endif␉/* mig_external */␊ |
411 | kern_return_t vm_purgable_control␊ |
412 | (␊ |
413 | ␉vm_map_t target_task,␊ |
414 | ␉vm_address_t address,␊ |
415 | ␉vm_purgable_t control,␊ |
416 | ␉int *state␊ |
417 | );␊ |
418 | ␊ |
419 | __END_DECLS␊ |
420 | ␊ |
421 | /********************** Caution **************************/␊ |
422 | /* The following data types should be used to calculate */␊ |
423 | /* maximum message sizes only. The actual message may be */␊ |
424 | /* smaller, and the position of the arguments within the */␊ |
425 | /* message layout may vary from what is presented here. */␊ |
426 | /* For example, if any of the arguments are variable- */␊ |
427 | /* sized, and less than the maximum is sent, the data */␊ |
428 | /* will be packed tight in the actual message to reduce */␊ |
429 | /* the presence of holes. */␊ |
430 | /********************** Caution **************************/␊ |
431 | ␊ |
432 | /* typedefs for all requests */␊ |
433 | ␊ |
434 | #ifndef __Request__vm_map_subsystem__defined␊ |
435 | #define __Request__vm_map_subsystem__defined␊ |
436 | ␊ |
437 | #ifdef __MigPackStructs␊ |
438 | #pragma pack(4)␊ |
439 | #endif␊ |
440 | ␉typedef struct {␊ |
441 | ␉␉mach_msg_header_t Head;␊ |
442 | ␉␉NDR_record_t NDR;␊ |
443 | ␉␉vm_address_t address;␊ |
444 | ␉␉vm_region_flavor_t flavor;␊ |
445 | ␉␉mach_msg_type_number_t infoCnt;␊ |
446 | ␉} __Request__vm_region_t;␊ |
447 | #ifdef __MigPackStructs␊ |
448 | #pragma pack()␊ |
449 | #endif␊ |
450 | ␊ |
451 | #ifdef __MigPackStructs␊ |
452 | #pragma pack(4)␊ |
453 | #endif␊ |
454 | ␉typedef struct {␊ |
455 | ␉␉mach_msg_header_t Head;␊ |
456 | ␉␉NDR_record_t NDR;␊ |
457 | ␉␉vm_address_t address;␊ |
458 | ␉␉vm_size_t size;␊ |
459 | ␉␉int flags;␊ |
460 | ␉} __Request__vm_allocate_t;␊ |
461 | #ifdef __MigPackStructs␊ |
462 | #pragma pack()␊ |
463 | #endif␊ |
464 | ␊ |
465 | #ifdef __MigPackStructs␊ |
466 | #pragma pack(4)␊ |
467 | #endif␊ |
468 | ␉typedef struct {␊ |
469 | ␉␉mach_msg_header_t Head;␊ |
470 | ␉␉NDR_record_t NDR;␊ |
471 | ␉␉vm_address_t address;␊ |
472 | ␉␉vm_size_t size;␊ |
473 | ␉} __Request__vm_deallocate_t;␊ |
474 | #ifdef __MigPackStructs␊ |
475 | #pragma pack()␊ |
476 | #endif␊ |
477 | ␊ |
478 | #ifdef __MigPackStructs␊ |
479 | #pragma pack(4)␊ |
480 | #endif␊ |
481 | ␉typedef struct {␊ |
482 | ␉␉mach_msg_header_t Head;␊ |
483 | ␉␉NDR_record_t NDR;␊ |
484 | ␉␉vm_address_t address;␊ |
485 | ␉␉vm_size_t size;␊ |
486 | ␉␉boolean_t set_maximum;␊ |
487 | ␉␉vm_prot_t new_protection;␊ |
488 | ␉} __Request__vm_protect_t;␊ |
489 | #ifdef __MigPackStructs␊ |
490 | #pragma pack()␊ |
491 | #endif␊ |
492 | ␊ |
493 | #ifdef __MigPackStructs␊ |
494 | #pragma pack(4)␊ |
495 | #endif␊ |
496 | ␉typedef struct {␊ |
497 | ␉␉mach_msg_header_t Head;␊ |
498 | ␉␉NDR_record_t NDR;␊ |
499 | ␉␉vm_address_t address;␊ |
500 | ␉␉vm_size_t size;␊ |
501 | ␉␉vm_inherit_t new_inheritance;␊ |
502 | ␉} __Request__vm_inherit_t;␊ |
503 | #ifdef __MigPackStructs␊ |
504 | #pragma pack()␊ |
505 | #endif␊ |
506 | ␊ |
507 | #ifdef __MigPackStructs␊ |
508 | #pragma pack(4)␊ |
509 | #endif␊ |
510 | ␉typedef struct {␊ |
511 | ␉␉mach_msg_header_t Head;␊ |
512 | ␉␉NDR_record_t NDR;␊ |
513 | ␉␉vm_address_t address;␊ |
514 | ␉␉vm_size_t size;␊ |
515 | ␉} __Request__vm_read_t;␊ |
516 | #ifdef __MigPackStructs␊ |
517 | #pragma pack()␊ |
518 | #endif␊ |
519 | ␊ |
520 | #ifdef __MigPackStructs␊ |
521 | #pragma pack(4)␊ |
522 | #endif␊ |
523 | ␉typedef struct {␊ |
524 | ␉␉mach_msg_header_t Head;␊ |
525 | ␉␉NDR_record_t NDR;␊ |
526 | ␉␉vm_read_entry_t data_list;␊ |
527 | ␉␉natural_t count;␊ |
528 | ␉} __Request__vm_read_list_t;␊ |
529 | #ifdef __MigPackStructs␊ |
530 | #pragma pack()␊ |
531 | #endif␊ |
532 | ␊ |
533 | #ifdef __MigPackStructs␊ |
534 | #pragma pack(4)␊ |
535 | #endif␊ |
536 | ␉typedef struct {␊ |
537 | ␉␉mach_msg_header_t Head;␊ |
538 | ␉␉/* start of the kernel processed data */␊ |
539 | ␉␉mach_msg_body_t msgh_body;␊ |
540 | ␉␉mach_msg_ool_descriptor_t data;␊ |
541 | ␉␉/* end of the kernel processed data */␊ |
542 | ␉␉NDR_record_t NDR;␊ |
543 | ␉␉vm_address_t address;␊ |
544 | ␉␉mach_msg_type_number_t dataCnt;␊ |
545 | ␉} __Request__vm_write_t;␊ |
546 | #ifdef __MigPackStructs␊ |
547 | #pragma pack()␊ |
548 | #endif␊ |
549 | ␊ |
550 | #ifdef __MigPackStructs␊ |
551 | #pragma pack(4)␊ |
552 | #endif␊ |
553 | ␉typedef struct {␊ |
554 | ␉␉mach_msg_header_t Head;␊ |
555 | ␉␉NDR_record_t NDR;␊ |
556 | ␉␉vm_address_t source_address;␊ |
557 | ␉␉vm_size_t size;␊ |
558 | ␉␉vm_address_t dest_address;␊ |
559 | ␉} __Request__vm_copy_t;␊ |
560 | #ifdef __MigPackStructs␊ |
561 | #pragma pack()␊ |
562 | #endif␊ |
563 | ␊ |
564 | #ifdef __MigPackStructs␊ |
565 | #pragma pack(4)␊ |
566 | #endif␊ |
567 | ␉typedef struct {␊ |
568 | ␉␉mach_msg_header_t Head;␊ |
569 | ␉␉NDR_record_t NDR;␊ |
570 | ␉␉vm_address_t address;␊ |
571 | ␉␉vm_size_t size;␊ |
572 | ␉␉vm_address_t data;␊ |
573 | ␉} __Request__vm_read_overwrite_t;␊ |
574 | #ifdef __MigPackStructs␊ |
575 | #pragma pack()␊ |
576 | #endif␊ |
577 | ␊ |
578 | #ifdef __MigPackStructs␊ |
579 | #pragma pack(4)␊ |
580 | #endif␊ |
581 | ␉typedef struct {␊ |
582 | ␉␉mach_msg_header_t Head;␊ |
583 | ␉␉NDR_record_t NDR;␊ |
584 | ␉␉vm_address_t address;␊ |
585 | ␉␉vm_size_t size;␊ |
586 | ␉␉vm_sync_t sync_flags;␊ |
587 | ␉} __Request__vm_msync_t;␊ |
588 | #ifdef __MigPackStructs␊ |
589 | #pragma pack()␊ |
590 | #endif␊ |
591 | ␊ |
592 | #ifdef __MigPackStructs␊ |
593 | #pragma pack(4)␊ |
594 | #endif␊ |
595 | ␉typedef struct {␊ |
596 | ␉␉mach_msg_header_t Head;␊ |
597 | ␉␉NDR_record_t NDR;␊ |
598 | ␉␉vm_address_t address;␊ |
599 | ␉␉vm_size_t size;␊ |
600 | ␉␉vm_behavior_t new_behavior;␊ |
601 | ␉} __Request__vm_behavior_set_t;␊ |
602 | #ifdef __MigPackStructs␊ |
603 | #pragma pack()␊ |
604 | #endif␊ |
605 | ␊ |
606 | #ifdef __MigPackStructs␊ |
607 | #pragma pack(4)␊ |
608 | #endif␊ |
609 | ␉typedef struct {␊ |
610 | ␉␉mach_msg_header_t Head;␊ |
611 | ␉␉/* start of the kernel processed data */␊ |
612 | ␉␉mach_msg_body_t msgh_body;␊ |
613 | ␉␉mach_msg_port_descriptor_t object;␊ |
614 | ␉␉/* end of the kernel processed data */␊ |
615 | ␉␉NDR_record_t NDR;␊ |
616 | ␉␉vm_address_t address;␊ |
617 | ␉␉vm_size_t size;␊ |
618 | ␉␉vm_address_t mask;␊ |
619 | ␉␉int flags;␊ |
620 | ␉␉vm_offset_t offset;␊ |
621 | ␉␉boolean_t copy;␊ |
622 | ␉␉vm_prot_t cur_protection;␊ |
623 | ␉␉vm_prot_t max_protection;␊ |
624 | ␉␉vm_inherit_t inheritance;␊ |
625 | ␉} __Request__vm_map_t;␊ |
626 | #ifdef __MigPackStructs␊ |
627 | #pragma pack()␊ |
628 | #endif␊ |
629 | ␊ |
630 | #ifdef __MigPackStructs␊ |
631 | #pragma pack(4)␊ |
632 | #endif␊ |
633 | ␉typedef struct {␊ |
634 | ␉␉mach_msg_header_t Head;␊ |
635 | ␉␉NDR_record_t NDR;␊ |
636 | ␉␉vm_address_t address;␊ |
637 | ␉␉vm_size_t size;␊ |
638 | ␉␉vm_machine_attribute_t attribute;␊ |
639 | ␉␉vm_machine_attribute_val_t value;␊ |
640 | ␉} __Request__vm_machine_attribute_t;␊ |
641 | #ifdef __MigPackStructs␊ |
642 | #pragma pack()␊ |
643 | #endif␊ |
644 | ␊ |
645 | #ifdef __MigPackStructs␊ |
646 | #pragma pack(4)␊ |
647 | #endif␊ |
648 | ␉typedef struct {␊ |
649 | ␉␉mach_msg_header_t Head;␊ |
650 | ␉␉/* start of the kernel processed data */␊ |
651 | ␉␉mach_msg_body_t msgh_body;␊ |
652 | ␉␉mach_msg_port_descriptor_t src_task;␊ |
653 | ␉␉/* end of the kernel processed data */␊ |
654 | ␉␉NDR_record_t NDR;␊ |
655 | ␉␉vm_address_t target_address;␊ |
656 | ␉␉vm_size_t size;␊ |
657 | ␉␉vm_address_t mask;␊ |
658 | ␉␉boolean_t anywhere;␊ |
659 | ␉␉vm_address_t src_address;␊ |
660 | ␉␉boolean_t copy;␊ |
661 | ␉␉vm_inherit_t inheritance;␊ |
662 | ␉} __Request__vm_remap_t;␊ |
663 | #ifdef __MigPackStructs␊ |
664 | #pragma pack()␊ |
665 | #endif␊ |
666 | ␊ |
667 | #ifdef __MigPackStructs␊ |
668 | #pragma pack(4)␊ |
669 | #endif␊ |
670 | ␉typedef struct {␊ |
671 | ␉␉mach_msg_header_t Head;␊ |
672 | ␉␉NDR_record_t NDR;␊ |
673 | ␉␉boolean_t must_wire;␊ |
674 | ␉} __Request__task_wire_t;␊ |
675 | #ifdef __MigPackStructs␊ |
676 | #pragma pack()␊ |
677 | #endif␊ |
678 | ␊ |
679 | #ifdef __MigPackStructs␊ |
680 | #pragma pack(4)␊ |
681 | #endif␊ |
682 | ␉typedef struct {␊ |
683 | ␉␉mach_msg_header_t Head;␊ |
684 | ␉␉/* start of the kernel processed data */␊ |
685 | ␉␉mach_msg_body_t msgh_body;␊ |
686 | ␉␉mach_msg_port_descriptor_t parent_entry;␊ |
687 | ␉␉/* end of the kernel processed data */␊ |
688 | ␉␉NDR_record_t NDR;␊ |
689 | ␉␉vm_size_t size;␊ |
690 | ␉␉vm_offset_t offset;␊ |
691 | ␉␉vm_prot_t permission;␊ |
692 | ␉} __Request__mach_make_memory_entry_t;␊ |
693 | #ifdef __MigPackStructs␊ |
694 | #pragma pack()␊ |
695 | #endif␊ |
696 | ␊ |
697 | #ifdef __MigPackStructs␊ |
698 | #pragma pack(4)␊ |
699 | #endif␊ |
700 | ␉typedef struct {␊ |
701 | ␉␉mach_msg_header_t Head;␊ |
702 | ␉␉NDR_record_t NDR;␊ |
703 | ␉␉vm_offset_t offset;␊ |
704 | ␉} __Request__vm_map_page_query_t;␊ |
705 | #ifdef __MigPackStructs␊ |
706 | #pragma pack()␊ |
707 | #endif␊ |
708 | ␊ |
709 | #ifdef __MigPackStructs␊ |
710 | #pragma pack(4)␊ |
711 | #endif␊ |
712 | ␉typedef struct {␊ |
713 | ␉␉mach_msg_header_t Head;␊ |
714 | ␉␉NDR_record_t NDR;␊ |
715 | ␉␉vm_address_t address;␊ |
716 | ␉} __Request__mach_vm_region_info_t;␊ |
717 | #ifdef __MigPackStructs␊ |
718 | #pragma pack()␊ |
719 | #endif␊ |
720 | ␊ |
721 | #ifdef __MigPackStructs␊ |
722 | #pragma pack(4)␊ |
723 | #endif␊ |
724 | ␉typedef struct {␊ |
725 | ␉␉mach_msg_header_t Head;␊ |
726 | ␉} __Request__vm_mapped_pages_info_t;␊ |
727 | #ifdef __MigPackStructs␊ |
728 | #pragma pack()␊ |
729 | #endif␊ |
730 | ␊ |
731 | #ifdef __MigPackStructs␊ |
732 | #pragma pack(4)␊ |
733 | #endif␊ |
734 | ␉typedef struct {␊ |
735 | ␉␉mach_msg_header_t Head;␊ |
736 | ␉␉NDR_record_t NDR;␊ |
737 | ␉␉vm_address_t address;␊ |
738 | ␉␉natural_t nesting_depth;␊ |
739 | ␉␉mach_msg_type_number_t infoCnt;␊ |
740 | ␉} __Request__vm_region_recurse_t;␊ |
741 | #ifdef __MigPackStructs␊ |
742 | #pragma pack()␊ |
743 | #endif␊ |
744 | ␊ |
745 | #ifdef __MigPackStructs␊ |
746 | #pragma pack(4)␊ |
747 | #endif␊ |
748 | ␉typedef struct {␊ |
749 | ␉␉mach_msg_header_t Head;␊ |
750 | ␉␉NDR_record_t NDR;␊ |
751 | ␉␉vm_address_t address;␊ |
752 | ␉␉natural_t nesting_depth;␊ |
753 | ␉␉mach_msg_type_number_t infoCnt;␊ |
754 | ␉} __Request__vm_region_recurse_64_t;␊ |
755 | #ifdef __MigPackStructs␊ |
756 | #pragma pack()␊ |
757 | #endif␊ |
758 | ␊ |
759 | #ifdef __MigPackStructs␊ |
760 | #pragma pack(4)␊ |
761 | #endif␊ |
762 | ␉typedef struct {␊ |
763 | ␉␉mach_msg_header_t Head;␊ |
764 | ␉␉NDR_record_t NDR;␊ |
765 | ␉␉vm_address_t address;␊ |
766 | ␉} __Request__mach_vm_region_info_64_t;␊ |
767 | #ifdef __MigPackStructs␊ |
768 | #pragma pack()␊ |
769 | #endif␊ |
770 | ␊ |
771 | #ifdef __MigPackStructs␊ |
772 | #pragma pack(4)␊ |
773 | #endif␊ |
774 | ␉typedef struct {␊ |
775 | ␉␉mach_msg_header_t Head;␊ |
776 | ␉␉NDR_record_t NDR;␊ |
777 | ␉␉vm_address_t address;␊ |
778 | ␉␉vm_region_flavor_t flavor;␊ |
779 | ␉␉mach_msg_type_number_t infoCnt;␊ |
780 | ␉} __Request__vm_region_64_t;␊ |
781 | #ifdef __MigPackStructs␊ |
782 | #pragma pack()␊ |
783 | #endif␊ |
784 | ␊ |
785 | #ifdef __MigPackStructs␊ |
786 | #pragma pack(4)␊ |
787 | #endif␊ |
788 | ␉typedef struct {␊ |
789 | ␉␉mach_msg_header_t Head;␊ |
790 | ␉␉/* start of the kernel processed data */␊ |
791 | ␉␉mach_msg_body_t msgh_body;␊ |
792 | ␉␉mach_msg_port_descriptor_t parent_entry;␊ |
793 | ␉␉/* end of the kernel processed data */␊ |
794 | ␉␉NDR_record_t NDR;␊ |
795 | ␉␉memory_object_size_t size;␊ |
796 | ␉␉memory_object_offset_t offset;␊ |
797 | ␉␉vm_prot_t permission;␊ |
798 | ␉} __Request__mach_make_memory_entry_64_t;␊ |
799 | #ifdef __MigPackStructs␊ |
800 | #pragma pack()␊ |
801 | #endif␊ |
802 | ␊ |
803 | #ifdef __MigPackStructs␊ |
804 | #pragma pack(4)␊ |
805 | #endif␊ |
806 | ␉typedef struct {␊ |
807 | ␉␉mach_msg_header_t Head;␊ |
808 | ␉␉/* start of the kernel processed data */␊ |
809 | ␉␉mach_msg_body_t msgh_body;␊ |
810 | ␉␉mach_msg_port_descriptor_t object;␊ |
811 | ␉␉/* end of the kernel processed data */␊ |
812 | ␉␉NDR_record_t NDR;␊ |
813 | ␉␉vm_address_t address;␊ |
814 | ␉␉vm_size_t size;␊ |
815 | ␉␉vm_address_t mask;␊ |
816 | ␉␉int flags;␊ |
817 | ␉␉memory_object_offset_t offset;␊ |
818 | ␉␉boolean_t copy;␊ |
819 | ␉␉vm_prot_t cur_protection;␊ |
820 | ␉␉vm_prot_t max_protection;␊ |
821 | ␉␉vm_inherit_t inheritance;␊ |
822 | ␉} __Request__vm_map_64_t;␊ |
823 | #ifdef __MigPackStructs␊ |
824 | #pragma pack()␊ |
825 | #endif␊ |
826 | ␊ |
827 | #ifdef __MigPackStructs␊ |
828 | #pragma pack(4)␊ |
829 | #endif␊ |
830 | ␉typedef struct {␊ |
831 | ␉␉mach_msg_header_t Head;␊ |
832 | ␉␉NDR_record_t NDR;␊ |
833 | ␉␉vm_address_t address;␊ |
834 | ␉␉vm_purgable_t control;␊ |
835 | ␉␉int state;␊ |
836 | ␉} __Request__vm_purgable_control_t;␊ |
837 | #ifdef __MigPackStructs␊ |
838 | #pragma pack()␊ |
839 | #endif␊ |
840 | #endif /* !__Request__vm_map_subsystem__defined */␊ |
841 | ␊ |
842 | /* union of all requests */␊ |
843 | ␊ |
844 | #ifndef __RequestUnion__vm_map_subsystem__defined␊ |
845 | #define __RequestUnion__vm_map_subsystem__defined␊ |
846 | union __RequestUnion__vm_map_subsystem {␊ |
847 | ␉__Request__vm_region_t Request_vm_region;␊ |
848 | ␉__Request__vm_allocate_t Request_vm_allocate;␊ |
849 | ␉__Request__vm_deallocate_t Request_vm_deallocate;␊ |
850 | ␉__Request__vm_protect_t Request_vm_protect;␊ |
851 | ␉__Request__vm_inherit_t Request_vm_inherit;␊ |
852 | ␉__Request__vm_read_t Request_vm_read;␊ |
853 | ␉__Request__vm_read_list_t Request_vm_read_list;␊ |
854 | ␉__Request__vm_write_t Request_vm_write;␊ |
855 | ␉__Request__vm_copy_t Request_vm_copy;␊ |
856 | ␉__Request__vm_read_overwrite_t Request_vm_read_overwrite;␊ |
857 | ␉__Request__vm_msync_t Request_vm_msync;␊ |
858 | ␉__Request__vm_behavior_set_t Request_vm_behavior_set;␊ |
859 | ␉__Request__vm_map_t Request_vm_map;␊ |
860 | ␉__Request__vm_machine_attribute_t Request_vm_machine_attribute;␊ |
861 | ␉__Request__vm_remap_t Request_vm_remap;␊ |
862 | ␉__Request__task_wire_t Request_task_wire;␊ |
863 | ␉__Request__mach_make_memory_entry_t Request_mach_make_memory_entry;␊ |
864 | ␉__Request__vm_map_page_query_t Request_vm_map_page_query;␊ |
865 | ␉__Request__mach_vm_region_info_t Request_mach_vm_region_info;␊ |
866 | ␉__Request__vm_mapped_pages_info_t Request_vm_mapped_pages_info;␊ |
867 | ␉__Request__vm_region_recurse_t Request_vm_region_recurse;␊ |
868 | ␉__Request__vm_region_recurse_64_t Request_vm_region_recurse_64;␊ |
869 | ␉__Request__mach_vm_region_info_64_t Request_mach_vm_region_info_64;␊ |
870 | ␉__Request__vm_region_64_t Request_vm_region_64;␊ |
871 | ␉__Request__mach_make_memory_entry_64_t Request_mach_make_memory_entry_64;␊ |
872 | ␉__Request__vm_map_64_t Request_vm_map_64;␊ |
873 | ␉__Request__vm_purgable_control_t Request_vm_purgable_control;␊ |
874 | };␊ |
875 | #endif /* !__RequestUnion__vm_map_subsystem__defined */␊ |
876 | /* typedefs for all replies */␊ |
877 | ␊ |
878 | #ifndef __Reply__vm_map_subsystem__defined␊ |
879 | #define __Reply__vm_map_subsystem__defined␊ |
880 | ␊ |
881 | #ifdef __MigPackStructs␊ |
882 | #pragma pack(4)␊ |
883 | #endif␊ |
884 | ␉typedef struct {␊ |
885 | ␉␉mach_msg_header_t Head;␊ |
886 | ␉␉/* start of the kernel processed data */␊ |
887 | ␉␉mach_msg_body_t msgh_body;␊ |
888 | ␉␉mach_msg_port_descriptor_t object_name;␊ |
889 | ␉␉/* end of the kernel processed data */␊ |
890 | ␉␉NDR_record_t NDR;␊ |
891 | ␉␉vm_address_t address;␊ |
892 | ␉␉vm_size_t size;␊ |
893 | ␉␉mach_msg_type_number_t infoCnt;␊ |
894 | ␉␉int info[10];␊ |
895 | ␉} __Reply__vm_region_t;␊ |
896 | #ifdef __MigPackStructs␊ |
897 | #pragma pack()␊ |
898 | #endif␊ |
899 | ␊ |
900 | #ifdef __MigPackStructs␊ |
901 | #pragma pack(4)␊ |
902 | #endif␊ |
903 | ␉typedef struct {␊ |
904 | ␉␉mach_msg_header_t Head;␊ |
905 | ␉␉NDR_record_t NDR;␊ |
906 | ␉␉kern_return_t RetCode;␊ |
907 | ␉␉vm_address_t address;␊ |
908 | ␉} __Reply__vm_allocate_t;␊ |
909 | #ifdef __MigPackStructs␊ |
910 | #pragma pack()␊ |
911 | #endif␊ |
912 | ␊ |
913 | #ifdef __MigPackStructs␊ |
914 | #pragma pack(4)␊ |
915 | #endif␊ |
916 | ␉typedef struct {␊ |
917 | ␉␉mach_msg_header_t Head;␊ |
918 | ␉␉NDR_record_t NDR;␊ |
919 | ␉␉kern_return_t RetCode;␊ |
920 | ␉} __Reply__vm_deallocate_t;␊ |
921 | #ifdef __MigPackStructs␊ |
922 | #pragma pack()␊ |
923 | #endif␊ |
924 | ␊ |
925 | #ifdef __MigPackStructs␊ |
926 | #pragma pack(4)␊ |
927 | #endif␊ |
928 | ␉typedef struct {␊ |
929 | ␉␉mach_msg_header_t Head;␊ |
930 | ␉␉NDR_record_t NDR;␊ |
931 | ␉␉kern_return_t RetCode;␊ |
932 | ␉} __Reply__vm_protect_t;␊ |
933 | #ifdef __MigPackStructs␊ |
934 | #pragma pack()␊ |
935 | #endif␊ |
936 | ␊ |
937 | #ifdef __MigPackStructs␊ |
938 | #pragma pack(4)␊ |
939 | #endif␊ |
940 | ␉typedef struct {␊ |
941 | ␉␉mach_msg_header_t Head;␊ |
942 | ␉␉NDR_record_t NDR;␊ |
943 | ␉␉kern_return_t RetCode;␊ |
944 | ␉} __Reply__vm_inherit_t;␊ |
945 | #ifdef __MigPackStructs␊ |
946 | #pragma pack()␊ |
947 | #endif␊ |
948 | ␊ |
949 | #ifdef __MigPackStructs␊ |
950 | #pragma pack(4)␊ |
951 | #endif␊ |
952 | ␉typedef struct {␊ |
953 | ␉␉mach_msg_header_t Head;␊ |
954 | ␉␉/* start of the kernel processed data */␊ |
955 | ␉␉mach_msg_body_t msgh_body;␊ |
956 | ␉␉mach_msg_ool_descriptor_t data;␊ |
957 | ␉␉/* end of the kernel processed data */␊ |
958 | ␉␉NDR_record_t NDR;␊ |
959 | ␉␉mach_msg_type_number_t dataCnt;␊ |
960 | ␉} __Reply__vm_read_t;␊ |
961 | #ifdef __MigPackStructs␊ |
962 | #pragma pack()␊ |
963 | #endif␊ |
964 | ␊ |
965 | #ifdef __MigPackStructs␊ |
966 | #pragma pack(4)␊ |
967 | #endif␊ |
968 | ␉typedef struct {␊ |
969 | ␉␉mach_msg_header_t Head;␊ |
970 | ␉␉NDR_record_t NDR;␊ |
971 | ␉␉kern_return_t RetCode;␊ |
972 | ␉␉vm_read_entry_t data_list;␊ |
973 | ␉} __Reply__vm_read_list_t;␊ |
974 | #ifdef __MigPackStructs␊ |
975 | #pragma pack()␊ |
976 | #endif␊ |
977 | ␊ |
978 | #ifdef __MigPackStructs␊ |
979 | #pragma pack(4)␊ |
980 | #endif␊ |
981 | ␉typedef struct {␊ |
982 | ␉␉mach_msg_header_t Head;␊ |
983 | ␉␉NDR_record_t NDR;␊ |
984 | ␉␉kern_return_t RetCode;␊ |
985 | ␉} __Reply__vm_write_t;␊ |
986 | #ifdef __MigPackStructs␊ |
987 | #pragma pack()␊ |
988 | #endif␊ |
989 | ␊ |
990 | #ifdef __MigPackStructs␊ |
991 | #pragma pack(4)␊ |
992 | #endif␊ |
993 | ␉typedef struct {␊ |
994 | ␉␉mach_msg_header_t Head;␊ |
995 | ␉␉NDR_record_t NDR;␊ |
996 | ␉␉kern_return_t RetCode;␊ |
997 | ␉} __Reply__vm_copy_t;␊ |
998 | #ifdef __MigPackStructs␊ |
999 | #pragma pack()␊ |
1000 | #endif␊ |
1001 | ␊ |
1002 | #ifdef __MigPackStructs␊ |
1003 | #pragma pack(4)␊ |
1004 | #endif␊ |
1005 | ␉typedef struct {␊ |
1006 | ␉␉mach_msg_header_t Head;␊ |
1007 | ␉␉NDR_record_t NDR;␊ |
1008 | ␉␉kern_return_t RetCode;␊ |
1009 | ␉␉vm_size_t outsize;␊ |
1010 | ␉} __Reply__vm_read_overwrite_t;␊ |
1011 | #ifdef __MigPackStructs␊ |
1012 | #pragma pack()␊ |
1013 | #endif␊ |
1014 | ␊ |
1015 | #ifdef __MigPackStructs␊ |
1016 | #pragma pack(4)␊ |
1017 | #endif␊ |
1018 | ␉typedef struct {␊ |
1019 | ␉␉mach_msg_header_t Head;␊ |
1020 | ␉␉NDR_record_t NDR;␊ |
1021 | ␉␉kern_return_t RetCode;␊ |
1022 | ␉} __Reply__vm_msync_t;␊ |
1023 | #ifdef __MigPackStructs␊ |
1024 | #pragma pack()␊ |
1025 | #endif␊ |
1026 | ␊ |
1027 | #ifdef __MigPackStructs␊ |
1028 | #pragma pack(4)␊ |
1029 | #endif␊ |
1030 | ␉typedef struct {␊ |
1031 | ␉␉mach_msg_header_t Head;␊ |
1032 | ␉␉NDR_record_t NDR;␊ |
1033 | ␉␉kern_return_t RetCode;␊ |
1034 | ␉} __Reply__vm_behavior_set_t;␊ |
1035 | #ifdef __MigPackStructs␊ |
1036 | #pragma pack()␊ |
1037 | #endif␊ |
1038 | ␊ |
1039 | #ifdef __MigPackStructs␊ |
1040 | #pragma pack(4)␊ |
1041 | #endif␊ |
1042 | ␉typedef struct {␊ |
1043 | ␉␉mach_msg_header_t Head;␊ |
1044 | ␉␉NDR_record_t NDR;␊ |
1045 | ␉␉kern_return_t RetCode;␊ |
1046 | ␉␉vm_address_t address;␊ |
1047 | ␉} __Reply__vm_map_t;␊ |
1048 | #ifdef __MigPackStructs␊ |
1049 | #pragma pack()␊ |
1050 | #endif␊ |
1051 | ␊ |
1052 | #ifdef __MigPackStructs␊ |
1053 | #pragma pack(4)␊ |
1054 | #endif␊ |
1055 | ␉typedef struct {␊ |
1056 | ␉␉mach_msg_header_t Head;␊ |
1057 | ␉␉NDR_record_t NDR;␊ |
1058 | ␉␉kern_return_t RetCode;␊ |
1059 | ␉␉vm_machine_attribute_val_t value;␊ |
1060 | ␉} __Reply__vm_machine_attribute_t;␊ |
1061 | #ifdef __MigPackStructs␊ |
1062 | #pragma pack()␊ |
1063 | #endif␊ |
1064 | ␊ |
1065 | #ifdef __MigPackStructs␊ |
1066 | #pragma pack(4)␊ |
1067 | #endif␊ |
1068 | ␉typedef struct {␊ |
1069 | ␉␉mach_msg_header_t Head;␊ |
1070 | ␉␉NDR_record_t NDR;␊ |
1071 | ␉␉kern_return_t RetCode;␊ |
1072 | ␉␉vm_address_t target_address;␊ |
1073 | ␉␉vm_prot_t cur_protection;␊ |
1074 | ␉␉vm_prot_t max_protection;␊ |
1075 | ␉} __Reply__vm_remap_t;␊ |
1076 | #ifdef __MigPackStructs␊ |
1077 | #pragma pack()␊ |
1078 | #endif␊ |
1079 | ␊ |
1080 | #ifdef __MigPackStructs␊ |
1081 | #pragma pack(4)␊ |
1082 | #endif␊ |
1083 | ␉typedef struct {␊ |
1084 | ␉␉mach_msg_header_t Head;␊ |
1085 | ␉␉NDR_record_t NDR;␊ |
1086 | ␉␉kern_return_t RetCode;␊ |
1087 | ␉} __Reply__task_wire_t;␊ |
1088 | #ifdef __MigPackStructs␊ |
1089 | #pragma pack()␊ |
1090 | #endif␊ |
1091 | ␊ |
1092 | #ifdef __MigPackStructs␊ |
1093 | #pragma pack(4)␊ |
1094 | #endif␊ |
1095 | ␉typedef struct {␊ |
1096 | ␉␉mach_msg_header_t Head;␊ |
1097 | ␉␉/* start of the kernel processed data */␊ |
1098 | ␉␉mach_msg_body_t msgh_body;␊ |
1099 | ␉␉mach_msg_port_descriptor_t object_handle;␊ |
1100 | ␉␉/* end of the kernel processed data */␊ |
1101 | ␉␉NDR_record_t NDR;␊ |
1102 | ␉␉vm_size_t size;␊ |
1103 | ␉} __Reply__mach_make_memory_entry_t;␊ |
1104 | #ifdef __MigPackStructs␊ |
1105 | #pragma pack()␊ |
1106 | #endif␊ |
1107 | ␊ |
1108 | #ifdef __MigPackStructs␊ |
1109 | #pragma pack(4)␊ |
1110 | #endif␊ |
1111 | ␉typedef struct {␊ |
1112 | ␉␉mach_msg_header_t Head;␊ |
1113 | ␉␉NDR_record_t NDR;␊ |
1114 | ␉␉kern_return_t RetCode;␊ |
1115 | ␉␉integer_t disposition;␊ |
1116 | ␉␉integer_t ref_count;␊ |
1117 | ␉} __Reply__vm_map_page_query_t;␊ |
1118 | #ifdef __MigPackStructs␊ |
1119 | #pragma pack()␊ |
1120 | #endif␊ |
1121 | ␊ |
1122 | ␊ |
1123 | #ifdef __MigPackStructs␊ |
1124 | #pragma pack(4)␊ |
1125 | #endif␊ |
1126 | ␉typedef struct {␊ |
1127 | ␉␉mach_msg_header_t Head;␊ |
1128 | ␉␉/* start of the kernel processed data */␊ |
1129 | ␉␉mach_msg_body_t msgh_body;␊ |
1130 | ␉␉mach_msg_ool_descriptor_t pages;␊ |
1131 | ␉␉/* end of the kernel processed data */␊ |
1132 | ␉␉NDR_record_t NDR;␊ |
1133 | ␉␉mach_msg_type_number_t pagesCnt;␊ |
1134 | ␉} __Reply__vm_mapped_pages_info_t;␊ |
1135 | #ifdef __MigPackStructs␊ |
1136 | #pragma pack()␊ |
1137 | #endif␊ |
1138 | ␊ |
1139 | #ifdef __MigPackStructs␊ |
1140 | #pragma pack(4)␊ |
1141 | #endif␊ |
1142 | ␉typedef struct {␊ |
1143 | ␉␉mach_msg_header_t Head;␊ |
1144 | ␉␉NDR_record_t NDR;␊ |
1145 | ␉␉kern_return_t RetCode;␊ |
1146 | ␉␉vm_address_t address;␊ |
1147 | ␉␉vm_size_t size;␊ |
1148 | ␉␉natural_t nesting_depth;␊ |
1149 | ␉␉mach_msg_type_number_t infoCnt;␊ |
1150 | ␉␉int info[19];␊ |
1151 | ␉} __Reply__vm_region_recurse_t;␊ |
1152 | #ifdef __MigPackStructs␊ |
1153 | #pragma pack()␊ |
1154 | #endif␊ |
1155 | ␊ |
1156 | #ifdef __MigPackStructs␊ |
1157 | #pragma pack(4)␊ |
1158 | #endif␊ |
1159 | ␉typedef struct {␊ |
1160 | ␉␉mach_msg_header_t Head;␊ |
1161 | ␉␉NDR_record_t NDR;␊ |
1162 | ␉␉kern_return_t RetCode;␊ |
1163 | ␉␉vm_address_t address;␊ |
1164 | ␉␉vm_size_t size;␊ |
1165 | ␉␉natural_t nesting_depth;␊ |
1166 | ␉␉mach_msg_type_number_t infoCnt;␊ |
1167 | ␉␉int info[19];␊ |
1168 | ␉} __Reply__vm_region_recurse_64_t;␊ |
1169 | #ifdef __MigPackStructs␊ |
1170 | #pragma pack()␊ |
1171 | #endif␊ |
1172 | ␊ |
1173 | ␊ |
1174 | #ifdef __MigPackStructs␊ |
1175 | #pragma pack(4)␊ |
1176 | #endif␊ |
1177 | ␉typedef struct {␊ |
1178 | ␉␉mach_msg_header_t Head;␊ |
1179 | ␉␉/* start of the kernel processed data */␊ |
1180 | ␉␉mach_msg_body_t msgh_body;␊ |
1181 | ␉␉mach_msg_port_descriptor_t object_name;␊ |
1182 | ␉␉/* end of the kernel processed data */␊ |
1183 | ␉␉NDR_record_t NDR;␊ |
1184 | ␉␉vm_address_t address;␊ |
1185 | ␉␉vm_size_t size;␊ |
1186 | ␉␉mach_msg_type_number_t infoCnt;␊ |
1187 | ␉␉int info[10];␊ |
1188 | ␉} __Reply__vm_region_64_t;␊ |
1189 | #ifdef __MigPackStructs␊ |
1190 | #pragma pack()␊ |
1191 | #endif␊ |
1192 | ␊ |
1193 | #ifdef __MigPackStructs␊ |
1194 | #pragma pack(4)␊ |
1195 | #endif␊ |
1196 | ␉typedef struct {␊ |
1197 | ␉␉mach_msg_header_t Head;␊ |
1198 | ␉␉/* start of the kernel processed data */␊ |
1199 | ␉␉mach_msg_body_t msgh_body;␊ |
1200 | ␉␉mach_msg_port_descriptor_t object_handle;␊ |
1201 | ␉␉/* end of the kernel processed data */␊ |
1202 | ␉␉NDR_record_t NDR;␊ |
1203 | ␉␉memory_object_size_t size;␊ |
1204 | ␉} __Reply__mach_make_memory_entry_64_t;␊ |
1205 | #ifdef __MigPackStructs␊ |
1206 | #pragma pack()␊ |
1207 | #endif␊ |
1208 | ␊ |
1209 | #ifdef __MigPackStructs␊ |
1210 | #pragma pack(4)␊ |
1211 | #endif␊ |
1212 | ␉typedef struct {␊ |
1213 | ␉␉mach_msg_header_t Head;␊ |
1214 | ␉␉NDR_record_t NDR;␊ |
1215 | ␉␉kern_return_t RetCode;␊ |
1216 | ␉␉vm_address_t address;␊ |
1217 | ␉} __Reply__vm_map_64_t;␊ |
1218 | #ifdef __MigPackStructs␊ |
1219 | #pragma pack()␊ |
1220 | #endif␊ |
1221 | ␊ |
1222 | #ifdef __MigPackStructs␊ |
1223 | #pragma pack(4)␊ |
1224 | #endif␊ |
1225 | ␉typedef struct {␊ |
1226 | ␉␉mach_msg_header_t Head;␊ |
1227 | ␉␉NDR_record_t NDR;␊ |
1228 | ␉␉kern_return_t RetCode;␊ |
1229 | ␉␉int state;␊ |
1230 | ␉} __Reply__vm_purgable_control_t;␊ |
1231 | #ifdef __MigPackStructs␊ |
1232 | #pragma pack()␊ |
1233 | #endif␊ |
1234 | #endif /* !__Reply__vm_map_subsystem__defined */␊ |
1235 | ␊ |
1236 | /* union of all replies */␊ |
1237 | ␊ |
1238 | #ifndef subsystem_to_name_map_vm_map␊ |
1239 | #define subsystem_to_name_map_vm_map \␊ |
1240 | { "vm_region", 3800 },\␊ |
1241 | { "vm_allocate", 3801 },\␊ |
1242 | { "vm_deallocate", 3802 },\␊ |
1243 | { "vm_protect", 3803 },\␊ |
1244 | { "vm_inherit", 3804 },\␊ |
1245 | { "vm_read", 3805 },\␊ |
1246 | { "vm_read_list", 3806 },\␊ |
1247 | { "vm_write", 3807 },\␊ |
1248 | { "vm_copy", 3808 },\␊ |
1249 | { "vm_read_overwrite", 3809 },\␊ |
1250 | { "vm_msync", 3810 },\␊ |
1251 | { "vm_behavior_set", 3811 },\␊ |
1252 | { "vm_map", 3812 },\␊ |
1253 | { "vm_machine_attribute", 3813 },\␊ |
1254 | { "vm_remap", 3814 },\␊ |
1255 | { "task_wire", 3815 },\␊ |
1256 | { "mach_make_memory_entry", 3816 },\␊ |
1257 | { "vm_map_page_query", 3817 },\␊ |
1258 | { "mach_vm_region_info", 3818 },\␊ |
1259 | { "vm_mapped_pages_info", 3819 },\␊ |
1260 | { "vm_region_recurse", 3821 },\␊ |
1261 | { "vm_region_recurse_64", 3822 },\␊ |
1262 | { "mach_vm_region_info_64", 3823 },\␊ |
1263 | { "vm_region_64", 3824 },\␊ |
1264 | { "mach_make_memory_entry_64", 3825 },\␊ |
1265 | { "vm_map_64", 3826 },\␊ |
1266 | { "vm_purgable_control", 3830 }␊ |
1267 | #endif␊ |
1268 | ␊ |
1269 | #ifdef __AfterMigUserHeader␊ |
1270 | __AfterMigUserHeader␊ |
1271 | #endif /* __AfterMigUserHeader */␊ |
1272 | ␊ |
1273 | #endif␉ /* _vm_map_user_ */␊ |
1274 |