1#ifndef _vm_map_server_
2#define _vm_map_server_
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/* BEGIN MIG_STRNCPY_ZEROFILL CODE */
17
18#if defined(__has_include)
19#if __has_include(<mach/mig_strncpy_zerofill_support.h>)
20#ifndef USING_MIG_STRNCPY_ZEROFILL
21#define USING_MIG_STRNCPY_ZEROFILL
22#endif
23#ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
24#define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__
25#ifdef __cplusplus
26extern "C" {
27#endif
28#ifndef __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_ATTR
29#define __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS_CSTRING_COUNTEDBY_ATTR(C) __unsafe_indexable
30#endif
31 extern int mig_strncpy_zerofill(char * dest, const char * src, int len) __attribute__((weak_import));
32#ifdef __cplusplus
33}
34#endif
35#endif /* __MIG_STRNCPY_ZEROFILL_FORWARD_TYPE_DECLS__ */
36#endif /* __has_include(<mach/mig_strncpy_zerofill_support.h>) */
37#endif /* __has_include */
38
39/* END MIG_STRNCPY_ZEROFILL CODE */
40
41
42#ifdef AUTOTEST
43#ifndef FUNCTION_PTR_T
44#define FUNCTION_PTR_T
45typedef void (*function_ptr_t)(mach_port_t, char *, mach_msg_type_number_t);
46typedef struct {
47 char * name;
48 function_ptr_t function;
49} function_table_entry;
50typedef function_table_entry *function_table_t;
51#endif /* FUNCTION_PTR_T */
52#endif /* AUTOTEST */
53
54#ifndef vm_map_MSG_COUNT
55#define vm_map_MSG_COUNT 33
56#endif /* vm_map_MSG_COUNT */
57
58#include <Availability.h>
59#include <mach/std_types.h>
60#include <mach/mig.h>
61#include <ipc/ipc_voucher.h>
62#include <kern/ipc_kobject.h>
63#include <kern/ipc_tt.h>
64#include <kern/ipc_host.h>
65#include <kern/ledger.h>
66#include <kern/processor.h>
67#include <kern/sync_sema.h>
68#include <ipc/ipc_eventlink.h>
69#include <vm/memory_object.h>
70#include <vm/vm_map.h>
71#include <kern/arcade.h>
72#include <kern/ipc_mig.h>
73#include <kern/task_ident.h>
74#include <kern/kern_cdata.h>
75#include <mach/mig.h>
76#include <mach/mach_types.h>
77#include <mach_debug/mach_debug_types.h>
78
79#ifdef __BeforeMigServerHeader
80__BeforeMigServerHeader
81#endif /* __BeforeMigServerHeader */
82
83#ifndef MIG_SERVER_ROUTINE
84#define MIG_SERVER_ROUTINE
85#endif
86
87
88/* Routine vm_region */
89#ifdef mig_external
90mig_external
91#else
92extern
93#endif /* mig_external */
94MIG_SERVER_ROUTINE
95kern_return_t vm_region
96(
97 vm_map_read_t target_task,
98 vm_address_t *address,
99 vm_size_t *size,
100 vm_region_flavor_t flavor,
101 vm_region_info_t info,
102 mach_msg_type_number_t *infoCnt,
103 mach_port_t *object_name
104);
105
106/* Routine vm_allocate_external */
107#ifdef mig_external
108mig_external
109#else
110extern
111#endif /* mig_external */
112MIG_SERVER_ROUTINE
113kern_return_t vm_allocate_external
114(
115 vm_map_t target_task,
116 vm_address_t *address,
117 vm_size_t size,
118 int flags
119);
120
121/* Routine vm_deallocate */
122#ifdef mig_external
123mig_external
124#else
125extern
126#endif /* mig_external */
127MIG_SERVER_ROUTINE
128kern_return_t vm_deallocate
129(
130 vm_map_t target_task,
131 vm_address_t address,
132 vm_size_t size
133);
134
135/* Routine vm_protect */
136#ifdef mig_external
137mig_external
138#else
139extern
140#endif /* mig_external */
141MIG_SERVER_ROUTINE
142kern_return_t vm_protect
143(
144 vm_map_t target_task,
145 vm_address_t address,
146 vm_size_t size,
147 boolean_t set_maximum,
148 vm_prot_t new_protection
149);
150
151/* Routine vm_inherit */
152#ifdef mig_external
153mig_external
154#else
155extern
156#endif /* mig_external */
157MIG_SERVER_ROUTINE
158kern_return_t vm_inherit
159(
160 vm_map_t target_task,
161 vm_address_t address,
162 vm_size_t size,
163 vm_inherit_t new_inheritance
164);
165
166/* Routine vm_read */
167#ifdef mig_external
168mig_external
169#else
170extern
171#endif /* mig_external */
172MIG_SERVER_ROUTINE
173kern_return_t vm_read
174(
175 vm_map_read_t target_task,
176 vm_address_t address,
177 vm_size_t size,
178 vm_offset_t *data,
179 mach_msg_type_number_t *dataCnt
180);
181
182/* Routine vm_read_list */
183#ifdef mig_external
184mig_external
185#else
186extern
187#endif /* mig_external */
188MIG_SERVER_ROUTINE
189kern_return_t vm_read_list
190(
191 vm_map_read_t target_task,
192 vm_read_entry_t data_list,
193 natural_t count
194);
195
196/* Routine vm_write */
197#ifdef mig_external
198mig_external
199#else
200extern
201#endif /* mig_external */
202MIG_SERVER_ROUTINE
203kern_return_t vm_write
204(
205 vm_map_t target_task,
206 vm_address_t address,
207 vm_offset_t data,
208 mach_msg_type_number_t dataCnt
209);
210
211/* Routine vm_copy */
212#ifdef mig_external
213mig_external
214#else
215extern
216#endif /* mig_external */
217MIG_SERVER_ROUTINE
218kern_return_t vm_copy
219(
220 vm_map_t target_task,
221 vm_address_t source_address,
222 vm_size_t size,
223 vm_address_t dest_address
224);
225
226/* Routine vm_read_overwrite */
227#ifdef mig_external
228mig_external
229#else
230extern
231#endif /* mig_external */
232MIG_SERVER_ROUTINE
233kern_return_t vm_read_overwrite
234(
235 vm_map_read_t target_task,
236 vm_address_t address,
237 vm_size_t size,
238 vm_address_t data,
239 vm_size_t *outsize
240);
241
242/* Routine vm_msync */
243#ifdef mig_external
244mig_external
245#else
246extern
247#endif /* mig_external */
248MIG_SERVER_ROUTINE
249kern_return_t vm_msync
250(
251 vm_map_t target_task,
252 vm_address_t address,
253 vm_size_t size,
254 vm_sync_t sync_flags
255);
256
257/* Routine vm_behavior_set */
258#ifdef mig_external
259mig_external
260#else
261extern
262#endif /* mig_external */
263MIG_SERVER_ROUTINE
264kern_return_t vm_behavior_set
265(
266 vm_map_t target_task,
267 vm_address_t address,
268 vm_size_t size,
269 vm_behavior_t new_behavior
270);
271
272/* Routine vm_map_external */
273#ifdef mig_external
274mig_external
275#else
276extern
277#endif /* mig_external */
278MIG_SERVER_ROUTINE
279kern_return_t vm_map_external
280(
281 vm_map_t target_task,
282 vm_address_t *address,
283 vm_size_t size,
284 vm_address_t mask,
285 int flags,
286 mem_entry_name_port_t object,
287 vm_offset_t offset,
288 boolean_t copy,
289 vm_prot_t cur_protection,
290 vm_prot_t max_protection,
291 vm_inherit_t inheritance
292);
293
294/* Routine vm_machine_attribute */
295#ifdef mig_external
296mig_external
297#else
298extern
299#endif /* mig_external */
300MIG_SERVER_ROUTINE
301kern_return_t vm_machine_attribute
302(
303 vm_map_t target_task,
304 vm_address_t address,
305 vm_size_t size,
306 vm_machine_attribute_t attribute,
307 vm_machine_attribute_val_t *value
308);
309
310/* Routine vm_remap_external */
311#ifdef mig_external
312mig_external
313#else
314extern
315#endif /* mig_external */
316MIG_SERVER_ROUTINE
317kern_return_t vm_remap_external
318(
319 vm_map_t target_task,
320 vm_address_t *target_address,
321 vm_size_t size,
322 vm_address_t mask,
323 int flags,
324 vm_map_t src_task,
325 vm_address_t src_address,
326 boolean_t copy,
327 vm_prot_t *cur_protection,
328 vm_prot_t *max_protection,
329 vm_inherit_t inheritance
330);
331
332/* Routine task_wire */
333#ifdef mig_external
334mig_external
335#else
336extern
337#endif /* mig_external */
338MIG_SERVER_ROUTINE
339kern_return_t task_wire
340(
341 vm_map_t target_task,
342 boolean_t must_wire
343);
344
345/* Routine mach_make_memory_entry */
346#ifdef mig_external
347mig_external
348#else
349extern
350#endif /* mig_external */
351MIG_SERVER_ROUTINE
352kern_return_t mach_make_memory_entry
353(
354 vm_map_t target_task,
355 vm_size_t *size,
356 vm_offset_t offset,
357 vm_prot_t permission,
358 mem_entry_name_port_t *object_handle,
359 mem_entry_name_port_t parent_entry
360);
361
362/* Routine vm_map_page_query */
363#ifdef mig_external
364mig_external
365#else
366extern
367#endif /* mig_external */
368MIG_SERVER_ROUTINE
369kern_return_t vm_map_page_query
370(
371 vm_map_read_t target_map,
372 vm_offset_t offset,
373 integer_t *disposition,
374 integer_t *ref_count
375);
376
377/* Routine mach_vm_region_info */
378#ifdef mig_external
379mig_external
380#else
381extern
382#endif /* mig_external */
383MIG_SERVER_ROUTINE
384kern_return_t mach_vm_region_info
385(
386 vm_map_read_t task,
387 vm_address_t address,
388 vm_info_region_t *region,
389 vm_info_object_array_t *objects,
390 mach_msg_type_number_t *objectsCnt
391);
392
393/* Routine vm_mapped_pages_info */
394#ifdef mig_external
395mig_external
396#else
397extern
398#endif /* mig_external */
399MIG_SERVER_ROUTINE
400kern_return_t vm_mapped_pages_info
401(
402 vm_map_read_t task,
403 page_address_array_t *pages,
404 mach_msg_type_number_t *pagesCnt
405);
406
407/* Routine vm_region_recurse */
408#ifdef mig_external
409mig_external
410#else
411extern
412#endif /* mig_external */
413MIG_SERVER_ROUTINE
414kern_return_t vm_region_recurse
415(
416 vm_map_read_t target_task,
417 vm_address_t *address,
418 vm_size_t *size,
419 natural_t *nesting_depth,
420 vm_region_recurse_info_t info,
421 mach_msg_type_number_t *infoCnt
422);
423
424/* Routine vm_region_recurse_64 */
425#ifdef mig_external
426mig_external
427#else
428extern
429#endif /* mig_external */
430MIG_SERVER_ROUTINE
431kern_return_t vm_region_recurse_64
432(
433 vm_map_read_t target_task,
434 vm_address_t *address,
435 vm_size_t *size,
436 natural_t *nesting_depth,
437 vm_region_recurse_info_t info,
438 mach_msg_type_number_t *infoCnt
439);
440
441/* Routine mach_vm_region_info_64 */
442#ifdef mig_external
443mig_external
444#else
445extern
446#endif /* mig_external */
447MIG_SERVER_ROUTINE
448kern_return_t mach_vm_region_info_64
449(
450 vm_map_read_t task,
451 vm_address_t address,
452 vm_info_region_64_t *region,
453 vm_info_object_array_t *objects,
454 mach_msg_type_number_t *objectsCnt
455);
456
457/* Routine vm_region_64 */
458#ifdef mig_external
459mig_external
460#else
461extern
462#endif /* mig_external */
463MIG_SERVER_ROUTINE
464kern_return_t vm_region_64
465(
466 vm_map_read_t target_task,
467 vm_address_t *address,
468 vm_size_t *size,
469 vm_region_flavor_t flavor,
470 vm_region_info_t info,
471 mach_msg_type_number_t *infoCnt,
472 mach_port_t *object_name
473);
474
475/* Routine mach_make_memory_entry_64 */
476#ifdef mig_external
477mig_external
478#else
479extern
480#endif /* mig_external */
481MIG_SERVER_ROUTINE
482kern_return_t mach_make_memory_entry_64
483(
484 vm_map_t target_task,
485 memory_object_size_t *size,
486 memory_object_offset_t offset,
487 vm_prot_t permission,
488 mach_port_t *object_handle,
489 mem_entry_name_port_t parent_entry
490);
491
492/* Routine vm_map_64_external */
493#ifdef mig_external
494mig_external
495#else
496extern
497#endif /* mig_external */
498MIG_SERVER_ROUTINE
499kern_return_t vm_map_64_external
500(
501 vm_map_t target_task,
502 vm_address_t *address,
503 vm_size_t size,
504 vm_address_t mask,
505 int flags,
506 mem_entry_name_port_t object,
507 memory_object_offset_t offset,
508 boolean_t copy,
509 vm_prot_t cur_protection,
510 vm_prot_t max_protection,
511 vm_inherit_t inheritance
512);
513
514/* Routine vm_purgable_control_external */
515#ifdef mig_external
516mig_external
517#else
518extern
519#endif /* mig_external */
520MIG_SERVER_ROUTINE
521kern_return_t vm_purgable_control_external
522(
523 mach_port_t target_tport,
524 vm_address_t address,
525 vm_purgable_t control,
526 int *state
527);
528
529/* Routine vm_map_exec_lockdown */
530#ifdef mig_external
531mig_external
532#else
533extern
534#endif /* mig_external */
535MIG_SERVER_ROUTINE
536kern_return_t vm_map_exec_lockdown
537(
538 vm_map_t target_task
539);
540
541/* Routine vm_remap_new_external */
542#ifdef mig_external
543mig_external
544#else
545extern
546#endif /* mig_external */
547MIG_SERVER_ROUTINE
548kern_return_t vm_remap_new_external
549(
550 vm_map_t target_task,
551 vm_address_t *target_address,
552 vm_size_t size,
553 vm_address_t mask,
554 int flags,
555 mach_port_t src_tport,
556 vm_address_t src_address,
557 boolean_t copy,
558 vm_prot_t *cur_protection,
559 vm_prot_t *max_protection,
560 vm_inherit_t inheritance
561);
562
563#ifdef mig_external
564mig_external
565#else
566extern
567#endif /* mig_external */
568boolean_t vm_map_server(
569 mach_msg_header_t *InHeadP,
570 void *InDataP,
571 mach_msg_max_trailer_t *InTrailerP,
572 mach_msg_header_t *OutHeadP,
573 void *OutDataP);
574
575#ifdef mig_external
576mig_external
577#else
578extern
579#endif /* mig_external */
580mig_kern_routine_t vm_map_server_routine(
581 mach_msg_header_t *InHeadP);
582
583
584/* Description of this kernel subsystem, for use in direct RPC */
585extern const struct vm_map_subsystem {
586 mig_kern_server_routine_t kserver; /* Server routine */
587 mach_msg_id_t start; /* Min routine number */
588 mach_msg_id_t end; /* Max routine number + 1 */
589 unsigned int maxsize; /* Max msg size */
590 vm_address_t reserved; /* Reserved */
591 struct kern_routine_descriptor /* Array of routine descriptors */
592 kroutine[33];
593} vm_map_subsystem;
594
595/* typedefs for all requests */
596
597#ifndef __Request__vm_map_subsystem__defined
598#define __Request__vm_map_subsystem__defined
599
600#ifdef __MigPackStructs
601#pragma pack(push, 4)
602#endif
603 typedef struct {
604 mach_msg_header_t Head;
605 NDR_record_t NDR;
606 vm_address_t address;
607 vm_region_flavor_t flavor;
608 mach_msg_type_number_t infoCnt;
609 } __Request__vm_region_t __attribute__((unused));
610#ifdef __MigPackStructs
611#pragma pack(pop)
612#endif
613/* Struct for kernel processed data (Header + Descriptors) */
614#ifdef __MigPackStructs
615#pragma pack(push, 4)
616#endif
617 typedef struct {
618 mach_msg_header_t Head;
619 } __RequestKData__vm_region_t __attribute__((unused));
620#ifdef __MigPackStructs
621#pragma pack(pop)
622#endif
623/* Struct for pure user data */
624#ifdef __MigPackStructs
625#pragma pack(push, 4)
626#endif
627 typedef struct {
628 NDR_record_t NDR;
629 vm_address_t address;
630 vm_region_flavor_t flavor;
631 mach_msg_type_number_t infoCnt;
632 char padding[0]; /* Avoid generating empty UData structs */
633 } __RequestUData__vm_region_t __attribute__((unused));
634#ifdef __MigPackStructs
635#pragma pack(pop)
636#endif
637
638#ifdef __MigPackStructs
639#pragma pack(push, 4)
640#endif
641 typedef struct {
642 mach_msg_header_t Head;
643 NDR_record_t NDR;
644 vm_address_t address;
645 vm_size_t size;
646 int flags;
647 } __Request__vm_allocate_external_t __attribute__((unused));
648#ifdef __MigPackStructs
649#pragma pack(pop)
650#endif
651/* Struct for kernel processed data (Header + Descriptors) */
652#ifdef __MigPackStructs
653#pragma pack(push, 4)
654#endif
655 typedef struct {
656 mach_msg_header_t Head;
657 } __RequestKData__vm_allocate_external_t __attribute__((unused));
658#ifdef __MigPackStructs
659#pragma pack(pop)
660#endif
661/* Struct for pure user data */
662#ifdef __MigPackStructs
663#pragma pack(push, 4)
664#endif
665 typedef struct {
666 NDR_record_t NDR;
667 vm_address_t address;
668 vm_size_t size;
669 int flags;
670 char padding[0]; /* Avoid generating empty UData structs */
671 } __RequestUData__vm_allocate_external_t __attribute__((unused));
672#ifdef __MigPackStructs
673#pragma pack(pop)
674#endif
675
676#ifdef __MigPackStructs
677#pragma pack(push, 4)
678#endif
679 typedef struct {
680 mach_msg_header_t Head;
681 NDR_record_t NDR;
682 vm_address_t address;
683 vm_size_t size;
684 } __Request__vm_deallocate_t __attribute__((unused));
685#ifdef __MigPackStructs
686#pragma pack(pop)
687#endif
688/* Struct for kernel processed data (Header + Descriptors) */
689#ifdef __MigPackStructs
690#pragma pack(push, 4)
691#endif
692 typedef struct {
693 mach_msg_header_t Head;
694 } __RequestKData__vm_deallocate_t __attribute__((unused));
695#ifdef __MigPackStructs
696#pragma pack(pop)
697#endif
698/* Struct for pure user data */
699#ifdef __MigPackStructs
700#pragma pack(push, 4)
701#endif
702 typedef struct {
703 NDR_record_t NDR;
704 vm_address_t address;
705 vm_size_t size;
706 char padding[0]; /* Avoid generating empty UData structs */
707 } __RequestUData__vm_deallocate_t __attribute__((unused));
708#ifdef __MigPackStructs
709#pragma pack(pop)
710#endif
711
712#ifdef __MigPackStructs
713#pragma pack(push, 4)
714#endif
715 typedef struct {
716 mach_msg_header_t Head;
717 NDR_record_t NDR;
718 vm_address_t address;
719 vm_size_t size;
720 boolean_t set_maximum;
721 vm_prot_t new_protection;
722 } __Request__vm_protect_t __attribute__((unused));
723#ifdef __MigPackStructs
724#pragma pack(pop)
725#endif
726/* Struct for kernel processed data (Header + Descriptors) */
727#ifdef __MigPackStructs
728#pragma pack(push, 4)
729#endif
730 typedef struct {
731 mach_msg_header_t Head;
732 } __RequestKData__vm_protect_t __attribute__((unused));
733#ifdef __MigPackStructs
734#pragma pack(pop)
735#endif
736/* Struct for pure user data */
737#ifdef __MigPackStructs
738#pragma pack(push, 4)
739#endif
740 typedef struct {
741 NDR_record_t NDR;
742 vm_address_t address;
743 vm_size_t size;
744 boolean_t set_maximum;
745 vm_prot_t new_protection;
746 char padding[0]; /* Avoid generating empty UData structs */
747 } __RequestUData__vm_protect_t __attribute__((unused));
748#ifdef __MigPackStructs
749#pragma pack(pop)
750#endif
751
752#ifdef __MigPackStructs
753#pragma pack(push, 4)
754#endif
755 typedef struct {
756 mach_msg_header_t Head;
757 NDR_record_t NDR;
758 vm_address_t address;
759 vm_size_t size;
760 vm_inherit_t new_inheritance;
761 } __Request__vm_inherit_t __attribute__((unused));
762#ifdef __MigPackStructs
763#pragma pack(pop)
764#endif
765/* Struct for kernel processed data (Header + Descriptors) */
766#ifdef __MigPackStructs
767#pragma pack(push, 4)
768#endif
769 typedef struct {
770 mach_msg_header_t Head;
771 } __RequestKData__vm_inherit_t __attribute__((unused));
772#ifdef __MigPackStructs
773#pragma pack(pop)
774#endif
775/* Struct for pure user data */
776#ifdef __MigPackStructs
777#pragma pack(push, 4)
778#endif
779 typedef struct {
780 NDR_record_t NDR;
781 vm_address_t address;
782 vm_size_t size;
783 vm_inherit_t new_inheritance;
784 char padding[0]; /* Avoid generating empty UData structs */
785 } __RequestUData__vm_inherit_t __attribute__((unused));
786#ifdef __MigPackStructs
787#pragma pack(pop)
788#endif
789
790#ifdef __MigPackStructs
791#pragma pack(push, 4)
792#endif
793 typedef struct {
794 mach_msg_header_t Head;
795 NDR_record_t NDR;
796 vm_address_t address;
797 vm_size_t size;
798 } __Request__vm_read_t __attribute__((unused));
799#ifdef __MigPackStructs
800#pragma pack(pop)
801#endif
802/* Struct for kernel processed data (Header + Descriptors) */
803#ifdef __MigPackStructs
804#pragma pack(push, 4)
805#endif
806 typedef struct {
807 mach_msg_header_t Head;
808 } __RequestKData__vm_read_t __attribute__((unused));
809#ifdef __MigPackStructs
810#pragma pack(pop)
811#endif
812/* Struct for pure user data */
813#ifdef __MigPackStructs
814#pragma pack(push, 4)
815#endif
816 typedef struct {
817 NDR_record_t NDR;
818 vm_address_t address;
819 vm_size_t size;
820 char padding[0]; /* Avoid generating empty UData structs */
821 } __RequestUData__vm_read_t __attribute__((unused));
822#ifdef __MigPackStructs
823#pragma pack(pop)
824#endif
825
826#ifdef __MigPackStructs
827#pragma pack(push, 4)
828#endif
829 typedef struct {
830 mach_msg_header_t Head;
831 NDR_record_t NDR;
832 vm_read_entry_t data_list;
833 natural_t count;
834 } __Request__vm_read_list_t __attribute__((unused));
835#ifdef __MigPackStructs
836#pragma pack(pop)
837#endif
838/* Struct for kernel processed data (Header + Descriptors) */
839#ifdef __MigPackStructs
840#pragma pack(push, 4)
841#endif
842 typedef struct {
843 mach_msg_header_t Head;
844 } __RequestKData__vm_read_list_t __attribute__((unused));
845#ifdef __MigPackStructs
846#pragma pack(pop)
847#endif
848/* Struct for pure user data */
849#ifdef __MigPackStructs
850#pragma pack(push, 4)
851#endif
852 typedef struct {
853 NDR_record_t NDR;
854 vm_read_entry_t data_list;
855 natural_t count;
856 char padding[0]; /* Avoid generating empty UData structs */
857 } __RequestUData__vm_read_list_t __attribute__((unused));
858#ifdef __MigPackStructs
859#pragma pack(pop)
860#endif
861
862#ifdef __MigPackStructs
863#pragma pack(push, 4)
864#endif
865 typedef struct {
866 mach_msg_header_t Head;
867 /* start of the kernel processed data */
868 mach_msg_body_t msgh_body;
869 mach_msg_ool_descriptor_t data;
870 /* end of the kernel processed data */
871 NDR_record_t NDR;
872 vm_address_t address;
873 mach_msg_type_number_t dataCnt;
874 } __Request__vm_write_t __attribute__((unused));
875#ifdef __MigPackStructs
876#pragma pack(pop)
877#endif
878/* Struct for kernel processed data (Header + Descriptors) */
879#ifdef __MigPackStructs
880#pragma pack(push, 4)
881#endif
882 typedef struct {
883 mach_msg_header_t Head;
884 mach_msg_body_t msgh_body;
885 mach_msg_ool_descriptor_t data;
886 } __RequestKData__vm_write_t __attribute__((unused));
887#ifdef __MigPackStructs
888#pragma pack(pop)
889#endif
890/* Struct for pure user data */
891#ifdef __MigPackStructs
892#pragma pack(push, 4)
893#endif
894 typedef struct {
895 NDR_record_t NDR;
896 vm_address_t address;
897 mach_msg_type_number_t dataCnt;
898 char padding[0]; /* Avoid generating empty UData structs */
899 } __RequestUData__vm_write_t __attribute__((unused));
900#ifdef __MigPackStructs
901#pragma pack(pop)
902#endif
903
904#ifdef __MigPackStructs
905#pragma pack(push, 4)
906#endif
907 typedef struct {
908 mach_msg_header_t Head;
909 NDR_record_t NDR;
910 vm_address_t source_address;
911 vm_size_t size;
912 vm_address_t dest_address;
913 } __Request__vm_copy_t __attribute__((unused));
914#ifdef __MigPackStructs
915#pragma pack(pop)
916#endif
917/* Struct for kernel processed data (Header + Descriptors) */
918#ifdef __MigPackStructs
919#pragma pack(push, 4)
920#endif
921 typedef struct {
922 mach_msg_header_t Head;
923 } __RequestKData__vm_copy_t __attribute__((unused));
924#ifdef __MigPackStructs
925#pragma pack(pop)
926#endif
927/* Struct for pure user data */
928#ifdef __MigPackStructs
929#pragma pack(push, 4)
930#endif
931 typedef struct {
932 NDR_record_t NDR;
933 vm_address_t source_address;
934 vm_size_t size;
935 vm_address_t dest_address;
936 char padding[0]; /* Avoid generating empty UData structs */
937 } __RequestUData__vm_copy_t __attribute__((unused));
938#ifdef __MigPackStructs
939#pragma pack(pop)
940#endif
941
942#ifdef __MigPackStructs
943#pragma pack(push, 4)
944#endif
945 typedef struct {
946 mach_msg_header_t Head;
947 NDR_record_t NDR;
948 vm_address_t address;
949 vm_size_t size;
950 vm_address_t data;
951 } __Request__vm_read_overwrite_t __attribute__((unused));
952#ifdef __MigPackStructs
953#pragma pack(pop)
954#endif
955/* Struct for kernel processed data (Header + Descriptors) */
956#ifdef __MigPackStructs
957#pragma pack(push, 4)
958#endif
959 typedef struct {
960 mach_msg_header_t Head;
961 } __RequestKData__vm_read_overwrite_t __attribute__((unused));
962#ifdef __MigPackStructs
963#pragma pack(pop)
964#endif
965/* Struct for pure user data */
966#ifdef __MigPackStructs
967#pragma pack(push, 4)
968#endif
969 typedef struct {
970 NDR_record_t NDR;
971 vm_address_t address;
972 vm_size_t size;
973 vm_address_t data;
974 char padding[0]; /* Avoid generating empty UData structs */
975 } __RequestUData__vm_read_overwrite_t __attribute__((unused));
976#ifdef __MigPackStructs
977#pragma pack(pop)
978#endif
979
980#ifdef __MigPackStructs
981#pragma pack(push, 4)
982#endif
983 typedef struct {
984 mach_msg_header_t Head;
985 NDR_record_t NDR;
986 vm_address_t address;
987 vm_size_t size;
988 vm_sync_t sync_flags;
989 } __Request__vm_msync_t __attribute__((unused));
990#ifdef __MigPackStructs
991#pragma pack(pop)
992#endif
993/* Struct for kernel processed data (Header + Descriptors) */
994#ifdef __MigPackStructs
995#pragma pack(push, 4)
996#endif
997 typedef struct {
998 mach_msg_header_t Head;
999 } __RequestKData__vm_msync_t __attribute__((unused));
1000#ifdef __MigPackStructs
1001#pragma pack(pop)
1002#endif
1003/* Struct for pure user data */
1004#ifdef __MigPackStructs
1005#pragma pack(push, 4)
1006#endif
1007 typedef struct {
1008 NDR_record_t NDR;
1009 vm_address_t address;
1010 vm_size_t size;
1011 vm_sync_t sync_flags;
1012 char padding[0]; /* Avoid generating empty UData structs */
1013 } __RequestUData__vm_msync_t __attribute__((unused));
1014#ifdef __MigPackStructs
1015#pragma pack(pop)
1016#endif
1017
1018#ifdef __MigPackStructs
1019#pragma pack(push, 4)
1020#endif
1021 typedef struct {
1022 mach_msg_header_t Head;
1023 NDR_record_t NDR;
1024 vm_address_t address;
1025 vm_size_t size;
1026 vm_behavior_t new_behavior;
1027 } __Request__vm_behavior_set_t __attribute__((unused));
1028#ifdef __MigPackStructs
1029#pragma pack(pop)
1030#endif
1031/* Struct for kernel processed data (Header + Descriptors) */
1032#ifdef __MigPackStructs
1033#pragma pack(push, 4)
1034#endif
1035 typedef struct {
1036 mach_msg_header_t Head;
1037 } __RequestKData__vm_behavior_set_t __attribute__((unused));
1038#ifdef __MigPackStructs
1039#pragma pack(pop)
1040#endif
1041/* Struct for pure user data */
1042#ifdef __MigPackStructs
1043#pragma pack(push, 4)
1044#endif
1045 typedef struct {
1046 NDR_record_t NDR;
1047 vm_address_t address;
1048 vm_size_t size;
1049 vm_behavior_t new_behavior;
1050 char padding[0]; /* Avoid generating empty UData structs */
1051 } __RequestUData__vm_behavior_set_t __attribute__((unused));
1052#ifdef __MigPackStructs
1053#pragma pack(pop)
1054#endif
1055
1056#ifdef __MigPackStructs
1057#pragma pack(push, 4)
1058#endif
1059 typedef struct {
1060 mach_msg_header_t Head;
1061 /* start of the kernel processed data */
1062 mach_msg_body_t msgh_body;
1063 mach_msg_port_descriptor_t object;
1064 /* end of the kernel processed data */
1065 NDR_record_t NDR;
1066 vm_address_t address;
1067 vm_size_t size;
1068 vm_address_t mask;
1069 int flags;
1070 vm_offset_t offset;
1071 boolean_t copy;
1072 vm_prot_t cur_protection;
1073 vm_prot_t max_protection;
1074 vm_inherit_t inheritance;
1075 } __Request__vm_map_external_t __attribute__((unused));
1076#ifdef __MigPackStructs
1077#pragma pack(pop)
1078#endif
1079/* Struct for kernel processed data (Header + Descriptors) */
1080#ifdef __MigPackStructs
1081#pragma pack(push, 4)
1082#endif
1083 typedef struct {
1084 mach_msg_header_t Head;
1085 mach_msg_body_t msgh_body;
1086 mach_msg_port_descriptor_t object;
1087 } __RequestKData__vm_map_external_t __attribute__((unused));
1088#ifdef __MigPackStructs
1089#pragma pack(pop)
1090#endif
1091/* Struct for pure user data */
1092#ifdef __MigPackStructs
1093#pragma pack(push, 4)
1094#endif
1095 typedef struct {
1096 NDR_record_t NDR;
1097 vm_address_t address;
1098 vm_size_t size;
1099 vm_address_t mask;
1100 int flags;
1101 vm_offset_t offset;
1102 boolean_t copy;
1103 vm_prot_t cur_protection;
1104 vm_prot_t max_protection;
1105 vm_inherit_t inheritance;
1106 char padding[0]; /* Avoid generating empty UData structs */
1107 } __RequestUData__vm_map_external_t __attribute__((unused));
1108#ifdef __MigPackStructs
1109#pragma pack(pop)
1110#endif
1111
1112#ifdef __MigPackStructs
1113#pragma pack(push, 4)
1114#endif
1115 typedef struct {
1116 mach_msg_header_t Head;
1117 NDR_record_t NDR;
1118 vm_address_t address;
1119 vm_size_t size;
1120 vm_machine_attribute_t attribute;
1121 vm_machine_attribute_val_t value;
1122 } __Request__vm_machine_attribute_t __attribute__((unused));
1123#ifdef __MigPackStructs
1124#pragma pack(pop)
1125#endif
1126/* Struct for kernel processed data (Header + Descriptors) */
1127#ifdef __MigPackStructs
1128#pragma pack(push, 4)
1129#endif
1130 typedef struct {
1131 mach_msg_header_t Head;
1132 } __RequestKData__vm_machine_attribute_t __attribute__((unused));
1133#ifdef __MigPackStructs
1134#pragma pack(pop)
1135#endif
1136/* Struct for pure user data */
1137#ifdef __MigPackStructs
1138#pragma pack(push, 4)
1139#endif
1140 typedef struct {
1141 NDR_record_t NDR;
1142 vm_address_t address;
1143 vm_size_t size;
1144 vm_machine_attribute_t attribute;
1145 vm_machine_attribute_val_t value;
1146 char padding[0]; /* Avoid generating empty UData structs */
1147 } __RequestUData__vm_machine_attribute_t __attribute__((unused));
1148#ifdef __MigPackStructs
1149#pragma pack(pop)
1150#endif
1151
1152#ifdef __MigPackStructs
1153#pragma pack(push, 4)
1154#endif
1155 typedef struct {
1156 mach_msg_header_t Head;
1157 /* start of the kernel processed data */
1158 mach_msg_body_t msgh_body;
1159 mach_msg_port_descriptor_t src_task;
1160 /* end of the kernel processed data */
1161 NDR_record_t NDR;
1162 vm_address_t target_address;
1163 vm_size_t size;
1164 vm_address_t mask;
1165 int flags;
1166 vm_address_t src_address;
1167 boolean_t copy;
1168 vm_inherit_t inheritance;
1169 } __Request__vm_remap_external_t __attribute__((unused));
1170#ifdef __MigPackStructs
1171#pragma pack(pop)
1172#endif
1173/* Struct for kernel processed data (Header + Descriptors) */
1174#ifdef __MigPackStructs
1175#pragma pack(push, 4)
1176#endif
1177 typedef struct {
1178 mach_msg_header_t Head;
1179 mach_msg_body_t msgh_body;
1180 mach_msg_port_descriptor_t src_task;
1181 } __RequestKData__vm_remap_external_t __attribute__((unused));
1182#ifdef __MigPackStructs
1183#pragma pack(pop)
1184#endif
1185/* Struct for pure user data */
1186#ifdef __MigPackStructs
1187#pragma pack(push, 4)
1188#endif
1189 typedef struct {
1190 NDR_record_t NDR;
1191 vm_address_t target_address;
1192 vm_size_t size;
1193 vm_address_t mask;
1194 int flags;
1195 vm_address_t src_address;
1196 boolean_t copy;
1197 vm_inherit_t inheritance;
1198 char padding[0]; /* Avoid generating empty UData structs */
1199 } __RequestUData__vm_remap_external_t __attribute__((unused));
1200#ifdef __MigPackStructs
1201#pragma pack(pop)
1202#endif
1203
1204#ifdef __MigPackStructs
1205#pragma pack(push, 4)
1206#endif
1207 typedef struct {
1208 mach_msg_header_t Head;
1209 NDR_record_t NDR;
1210 boolean_t must_wire;
1211 } __Request__task_wire_t __attribute__((unused));
1212#ifdef __MigPackStructs
1213#pragma pack(pop)
1214#endif
1215/* Struct for kernel processed data (Header + Descriptors) */
1216#ifdef __MigPackStructs
1217#pragma pack(push, 4)
1218#endif
1219 typedef struct {
1220 mach_msg_header_t Head;
1221 } __RequestKData__task_wire_t __attribute__((unused));
1222#ifdef __MigPackStructs
1223#pragma pack(pop)
1224#endif
1225/* Struct for pure user data */
1226#ifdef __MigPackStructs
1227#pragma pack(push, 4)
1228#endif
1229 typedef struct {
1230 NDR_record_t NDR;
1231 boolean_t must_wire;
1232 char padding[0]; /* Avoid generating empty UData structs */
1233 } __RequestUData__task_wire_t __attribute__((unused));
1234#ifdef __MigPackStructs
1235#pragma pack(pop)
1236#endif
1237
1238#ifdef __MigPackStructs
1239#pragma pack(push, 4)
1240#endif
1241 typedef struct {
1242 mach_msg_header_t Head;
1243 /* start of the kernel processed data */
1244 mach_msg_body_t msgh_body;
1245 mach_msg_port_descriptor_t parent_entry;
1246 /* end of the kernel processed data */
1247 NDR_record_t NDR;
1248 vm_size_t size;
1249 vm_offset_t offset;
1250 vm_prot_t permission;
1251 } __Request__mach_make_memory_entry_t __attribute__((unused));
1252#ifdef __MigPackStructs
1253#pragma pack(pop)
1254#endif
1255/* Struct for kernel processed data (Header + Descriptors) */
1256#ifdef __MigPackStructs
1257#pragma pack(push, 4)
1258#endif
1259 typedef struct {
1260 mach_msg_header_t Head;
1261 mach_msg_body_t msgh_body;
1262 mach_msg_port_descriptor_t parent_entry;
1263 } __RequestKData__mach_make_memory_entry_t __attribute__((unused));
1264#ifdef __MigPackStructs
1265#pragma pack(pop)
1266#endif
1267/* Struct for pure user data */
1268#ifdef __MigPackStructs
1269#pragma pack(push, 4)
1270#endif
1271 typedef struct {
1272 NDR_record_t NDR;
1273 vm_size_t size;
1274 vm_offset_t offset;
1275 vm_prot_t permission;
1276 char padding[0]; /* Avoid generating empty UData structs */
1277 } __RequestUData__mach_make_memory_entry_t __attribute__((unused));
1278#ifdef __MigPackStructs
1279#pragma pack(pop)
1280#endif
1281
1282#ifdef __MigPackStructs
1283#pragma pack(push, 4)
1284#endif
1285 typedef struct {
1286 mach_msg_header_t Head;
1287 NDR_record_t NDR;
1288 vm_offset_t offset;
1289 } __Request__vm_map_page_query_t __attribute__((unused));
1290#ifdef __MigPackStructs
1291#pragma pack(pop)
1292#endif
1293/* Struct for kernel processed data (Header + Descriptors) */
1294#ifdef __MigPackStructs
1295#pragma pack(push, 4)
1296#endif
1297 typedef struct {
1298 mach_msg_header_t Head;
1299 } __RequestKData__vm_map_page_query_t __attribute__((unused));
1300#ifdef __MigPackStructs
1301#pragma pack(pop)
1302#endif
1303/* Struct for pure user data */
1304#ifdef __MigPackStructs
1305#pragma pack(push, 4)
1306#endif
1307 typedef struct {
1308 NDR_record_t NDR;
1309 vm_offset_t offset;
1310 char padding[0]; /* Avoid generating empty UData structs */
1311 } __RequestUData__vm_map_page_query_t __attribute__((unused));
1312#ifdef __MigPackStructs
1313#pragma pack(pop)
1314#endif
1315
1316#ifdef __MigPackStructs
1317#pragma pack(push, 4)
1318#endif
1319 typedef struct {
1320 mach_msg_header_t Head;
1321 NDR_record_t NDR;
1322 vm_address_t address;
1323 } __Request__mach_vm_region_info_t __attribute__((unused));
1324#ifdef __MigPackStructs
1325#pragma pack(pop)
1326#endif
1327/* Struct for kernel processed data (Header + Descriptors) */
1328#ifdef __MigPackStructs
1329#pragma pack(push, 4)
1330#endif
1331 typedef struct {
1332 mach_msg_header_t Head;
1333 } __RequestKData__mach_vm_region_info_t __attribute__((unused));
1334#ifdef __MigPackStructs
1335#pragma pack(pop)
1336#endif
1337/* Struct for pure user data */
1338#ifdef __MigPackStructs
1339#pragma pack(push, 4)
1340#endif
1341 typedef struct {
1342 NDR_record_t NDR;
1343 vm_address_t address;
1344 char padding[0]; /* Avoid generating empty UData structs */
1345 } __RequestUData__mach_vm_region_info_t __attribute__((unused));
1346#ifdef __MigPackStructs
1347#pragma pack(pop)
1348#endif
1349
1350#ifdef __MigPackStructs
1351#pragma pack(push, 4)
1352#endif
1353 typedef struct {
1354 mach_msg_header_t Head;
1355 } __Request__vm_mapped_pages_info_t __attribute__((unused));
1356#ifdef __MigPackStructs
1357#pragma pack(pop)
1358#endif
1359/* Struct for kernel processed data (Header + Descriptors) */
1360#ifdef __MigPackStructs
1361#pragma pack(push, 4)
1362#endif
1363 typedef struct {
1364 mach_msg_header_t Head;
1365 } __RequestKData__vm_mapped_pages_info_t __attribute__((unused));
1366#ifdef __MigPackStructs
1367#pragma pack(pop)
1368#endif
1369/* Struct for pure user data */
1370#ifdef __MigPackStructs
1371#pragma pack(push, 4)
1372#endif
1373 typedef struct {
1374 char padding[0]; /* Avoid generating empty UData structs */
1375 } __RequestUData__vm_mapped_pages_info_t __attribute__((unused));
1376#ifdef __MigPackStructs
1377#pragma pack(pop)
1378#endif
1379
1380#ifdef __MigPackStructs
1381#pragma pack(push, 4)
1382#endif
1383 typedef struct {
1384 mach_msg_header_t Head;
1385 NDR_record_t NDR;
1386 vm_address_t address;
1387 natural_t nesting_depth;
1388 mach_msg_type_number_t infoCnt;
1389 } __Request__vm_region_recurse_t __attribute__((unused));
1390#ifdef __MigPackStructs
1391#pragma pack(pop)
1392#endif
1393/* Struct for kernel processed data (Header + Descriptors) */
1394#ifdef __MigPackStructs
1395#pragma pack(push, 4)
1396#endif
1397 typedef struct {
1398 mach_msg_header_t Head;
1399 } __RequestKData__vm_region_recurse_t __attribute__((unused));
1400#ifdef __MigPackStructs
1401#pragma pack(pop)
1402#endif
1403/* Struct for pure user data */
1404#ifdef __MigPackStructs
1405#pragma pack(push, 4)
1406#endif
1407 typedef struct {
1408 NDR_record_t NDR;
1409 vm_address_t address;
1410 natural_t nesting_depth;
1411 mach_msg_type_number_t infoCnt;
1412 char padding[0]; /* Avoid generating empty UData structs */
1413 } __RequestUData__vm_region_recurse_t __attribute__((unused));
1414#ifdef __MigPackStructs
1415#pragma pack(pop)
1416#endif
1417
1418#ifdef __MigPackStructs
1419#pragma pack(push, 4)
1420#endif
1421 typedef struct {
1422 mach_msg_header_t Head;
1423 NDR_record_t NDR;
1424 vm_address_t address;
1425 natural_t nesting_depth;
1426 mach_msg_type_number_t infoCnt;
1427 } __Request__vm_region_recurse_64_t __attribute__((unused));
1428#ifdef __MigPackStructs
1429#pragma pack(pop)
1430#endif
1431/* Struct for kernel processed data (Header + Descriptors) */
1432#ifdef __MigPackStructs
1433#pragma pack(push, 4)
1434#endif
1435 typedef struct {
1436 mach_msg_header_t Head;
1437 } __RequestKData__vm_region_recurse_64_t __attribute__((unused));
1438#ifdef __MigPackStructs
1439#pragma pack(pop)
1440#endif
1441/* Struct for pure user data */
1442#ifdef __MigPackStructs
1443#pragma pack(push, 4)
1444#endif
1445 typedef struct {
1446 NDR_record_t NDR;
1447 vm_address_t address;
1448 natural_t nesting_depth;
1449 mach_msg_type_number_t infoCnt;
1450 char padding[0]; /* Avoid generating empty UData structs */
1451 } __RequestUData__vm_region_recurse_64_t __attribute__((unused));
1452#ifdef __MigPackStructs
1453#pragma pack(pop)
1454#endif
1455
1456#ifdef __MigPackStructs
1457#pragma pack(push, 4)
1458#endif
1459 typedef struct {
1460 mach_msg_header_t Head;
1461 NDR_record_t NDR;
1462 vm_address_t address;
1463 } __Request__mach_vm_region_info_64_t __attribute__((unused));
1464#ifdef __MigPackStructs
1465#pragma pack(pop)
1466#endif
1467/* Struct for kernel processed data (Header + Descriptors) */
1468#ifdef __MigPackStructs
1469#pragma pack(push, 4)
1470#endif
1471 typedef struct {
1472 mach_msg_header_t Head;
1473 } __RequestKData__mach_vm_region_info_64_t __attribute__((unused));
1474#ifdef __MigPackStructs
1475#pragma pack(pop)
1476#endif
1477/* Struct for pure user data */
1478#ifdef __MigPackStructs
1479#pragma pack(push, 4)
1480#endif
1481 typedef struct {
1482 NDR_record_t NDR;
1483 vm_address_t address;
1484 char padding[0]; /* Avoid generating empty UData structs */
1485 } __RequestUData__mach_vm_region_info_64_t __attribute__((unused));
1486#ifdef __MigPackStructs
1487#pragma pack(pop)
1488#endif
1489
1490#ifdef __MigPackStructs
1491#pragma pack(push, 4)
1492#endif
1493 typedef struct {
1494 mach_msg_header_t Head;
1495 NDR_record_t NDR;
1496 vm_address_t address;
1497 vm_region_flavor_t flavor;
1498 mach_msg_type_number_t infoCnt;
1499 } __Request__vm_region_64_t __attribute__((unused));
1500#ifdef __MigPackStructs
1501#pragma pack(pop)
1502#endif
1503/* Struct for kernel processed data (Header + Descriptors) */
1504#ifdef __MigPackStructs
1505#pragma pack(push, 4)
1506#endif
1507 typedef struct {
1508 mach_msg_header_t Head;
1509 } __RequestKData__vm_region_64_t __attribute__((unused));
1510#ifdef __MigPackStructs
1511#pragma pack(pop)
1512#endif
1513/* Struct for pure user data */
1514#ifdef __MigPackStructs
1515#pragma pack(push, 4)
1516#endif
1517 typedef struct {
1518 NDR_record_t NDR;
1519 vm_address_t address;
1520 vm_region_flavor_t flavor;
1521 mach_msg_type_number_t infoCnt;
1522 char padding[0]; /* Avoid generating empty UData structs */
1523 } __RequestUData__vm_region_64_t __attribute__((unused));
1524#ifdef __MigPackStructs
1525#pragma pack(pop)
1526#endif
1527
1528#ifdef __MigPackStructs
1529#pragma pack(push, 4)
1530#endif
1531 typedef struct {
1532 mach_msg_header_t Head;
1533 /* start of the kernel processed data */
1534 mach_msg_body_t msgh_body;
1535 mach_msg_port_descriptor_t parent_entry;
1536 /* end of the kernel processed data */
1537 NDR_record_t NDR;
1538 memory_object_size_t size;
1539 memory_object_offset_t offset;
1540 vm_prot_t permission;
1541 } __Request__mach_make_memory_entry_64_t __attribute__((unused));
1542#ifdef __MigPackStructs
1543#pragma pack(pop)
1544#endif
1545/* Struct for kernel processed data (Header + Descriptors) */
1546#ifdef __MigPackStructs
1547#pragma pack(push, 4)
1548#endif
1549 typedef struct {
1550 mach_msg_header_t Head;
1551 mach_msg_body_t msgh_body;
1552 mach_msg_port_descriptor_t parent_entry;
1553 } __RequestKData__mach_make_memory_entry_64_t __attribute__((unused));
1554#ifdef __MigPackStructs
1555#pragma pack(pop)
1556#endif
1557/* Struct for pure user data */
1558#ifdef __MigPackStructs
1559#pragma pack(push, 4)
1560#endif
1561 typedef struct {
1562 NDR_record_t NDR;
1563 memory_object_size_t size;
1564 memory_object_offset_t offset;
1565 vm_prot_t permission;
1566 char padding[0]; /* Avoid generating empty UData structs */
1567 } __RequestUData__mach_make_memory_entry_64_t __attribute__((unused));
1568#ifdef __MigPackStructs
1569#pragma pack(pop)
1570#endif
1571
1572#ifdef __MigPackStructs
1573#pragma pack(push, 4)
1574#endif
1575 typedef struct {
1576 mach_msg_header_t Head;
1577 /* start of the kernel processed data */
1578 mach_msg_body_t msgh_body;
1579 mach_msg_port_descriptor_t object;
1580 /* end of the kernel processed data */
1581 NDR_record_t NDR;
1582 vm_address_t address;
1583 vm_size_t size;
1584 vm_address_t mask;
1585 int flags;
1586 memory_object_offset_t offset;
1587 boolean_t copy;
1588 vm_prot_t cur_protection;
1589 vm_prot_t max_protection;
1590 vm_inherit_t inheritance;
1591 } __Request__vm_map_64_external_t __attribute__((unused));
1592#ifdef __MigPackStructs
1593#pragma pack(pop)
1594#endif
1595/* Struct for kernel processed data (Header + Descriptors) */
1596#ifdef __MigPackStructs
1597#pragma pack(push, 4)
1598#endif
1599 typedef struct {
1600 mach_msg_header_t Head;
1601 mach_msg_body_t msgh_body;
1602 mach_msg_port_descriptor_t object;
1603 } __RequestKData__vm_map_64_external_t __attribute__((unused));
1604#ifdef __MigPackStructs
1605#pragma pack(pop)
1606#endif
1607/* Struct for pure user data */
1608#ifdef __MigPackStructs
1609#pragma pack(push, 4)
1610#endif
1611 typedef struct {
1612 NDR_record_t NDR;
1613 vm_address_t address;
1614 vm_size_t size;
1615 vm_address_t mask;
1616 int flags;
1617 memory_object_offset_t offset;
1618 boolean_t copy;
1619 vm_prot_t cur_protection;
1620 vm_prot_t max_protection;
1621 vm_inherit_t inheritance;
1622 char padding[0]; /* Avoid generating empty UData structs */
1623 } __RequestUData__vm_map_64_external_t __attribute__((unused));
1624#ifdef __MigPackStructs
1625#pragma pack(pop)
1626#endif
1627
1628#ifdef __MigPackStructs
1629#pragma pack(push, 4)
1630#endif
1631 typedef struct {
1632 mach_msg_header_t Head;
1633 NDR_record_t NDR;
1634 vm_address_t address;
1635 vm_purgable_t control;
1636 int state;
1637 } __Request__vm_purgable_control_external_t __attribute__((unused));
1638#ifdef __MigPackStructs
1639#pragma pack(pop)
1640#endif
1641/* Struct for kernel processed data (Header + Descriptors) */
1642#ifdef __MigPackStructs
1643#pragma pack(push, 4)
1644#endif
1645 typedef struct {
1646 mach_msg_header_t Head;
1647 } __RequestKData__vm_purgable_control_external_t __attribute__((unused));
1648#ifdef __MigPackStructs
1649#pragma pack(pop)
1650#endif
1651/* Struct for pure user data */
1652#ifdef __MigPackStructs
1653#pragma pack(push, 4)
1654#endif
1655 typedef struct {
1656 NDR_record_t NDR;
1657 vm_address_t address;
1658 vm_purgable_t control;
1659 int state;
1660 char padding[0]; /* Avoid generating empty UData structs */
1661 } __RequestUData__vm_purgable_control_external_t __attribute__((unused));
1662#ifdef __MigPackStructs
1663#pragma pack(pop)
1664#endif
1665
1666#ifdef __MigPackStructs
1667#pragma pack(push, 4)
1668#endif
1669 typedef struct {
1670 mach_msg_header_t Head;
1671 } __Request__vm_map_exec_lockdown_t __attribute__((unused));
1672#ifdef __MigPackStructs
1673#pragma pack(pop)
1674#endif
1675/* Struct for kernel processed data (Header + Descriptors) */
1676#ifdef __MigPackStructs
1677#pragma pack(push, 4)
1678#endif
1679 typedef struct {
1680 mach_msg_header_t Head;
1681 } __RequestKData__vm_map_exec_lockdown_t __attribute__((unused));
1682#ifdef __MigPackStructs
1683#pragma pack(pop)
1684#endif
1685/* Struct for pure user data */
1686#ifdef __MigPackStructs
1687#pragma pack(push, 4)
1688#endif
1689 typedef struct {
1690 char padding[0]; /* Avoid generating empty UData structs */
1691 } __RequestUData__vm_map_exec_lockdown_t __attribute__((unused));
1692#ifdef __MigPackStructs
1693#pragma pack(pop)
1694#endif
1695
1696#ifdef __MigPackStructs
1697#pragma pack(push, 4)
1698#endif
1699 typedef struct {
1700 mach_msg_header_t Head;
1701 /* start of the kernel processed data */
1702 mach_msg_body_t msgh_body;
1703 mach_msg_port_descriptor_t src_tport;
1704 /* end of the kernel processed data */
1705 NDR_record_t NDR;
1706 vm_address_t target_address;
1707 vm_size_t size;
1708 vm_address_t mask;
1709 int flags;
1710 vm_address_t src_address;
1711 boolean_t copy;
1712 vm_prot_t cur_protection;
1713 vm_prot_t max_protection;
1714 vm_inherit_t inheritance;
1715 } __Request__vm_remap_new_external_t __attribute__((unused));
1716#ifdef __MigPackStructs
1717#pragma pack(pop)
1718#endif
1719/* Struct for kernel processed data (Header + Descriptors) */
1720#ifdef __MigPackStructs
1721#pragma pack(push, 4)
1722#endif
1723 typedef struct {
1724 mach_msg_header_t Head;
1725 mach_msg_body_t msgh_body;
1726 mach_msg_port_descriptor_t src_tport;
1727 } __RequestKData__vm_remap_new_external_t __attribute__((unused));
1728#ifdef __MigPackStructs
1729#pragma pack(pop)
1730#endif
1731/* Struct for pure user data */
1732#ifdef __MigPackStructs
1733#pragma pack(push, 4)
1734#endif
1735 typedef struct {
1736 NDR_record_t NDR;
1737 vm_address_t target_address;
1738 vm_size_t size;
1739 vm_address_t mask;
1740 int flags;
1741 vm_address_t src_address;
1742 boolean_t copy;
1743 vm_prot_t cur_protection;
1744 vm_prot_t max_protection;
1745 vm_inherit_t inheritance;
1746 char padding[0]; /* Avoid generating empty UData structs */
1747 } __RequestUData__vm_remap_new_external_t __attribute__((unused));
1748#ifdef __MigPackStructs
1749#pragma pack(pop)
1750#endif
1751#endif /* !__Request__vm_map_subsystem__defined */
1752
1753
1754/* union of all requests */
1755
1756#ifndef __RequestUnion__vm_map_subsystem__defined
1757#define __RequestUnion__vm_map_subsystem__defined
1758union __RequestUnion__vm_map_subsystem {
1759 __Request__vm_region_t Request_vm_region;
1760 __Request__vm_allocate_external_t Request_vm_allocate_external;
1761 __Request__vm_deallocate_t Request_vm_deallocate;
1762 __Request__vm_protect_t Request_vm_protect;
1763 __Request__vm_inherit_t Request_vm_inherit;
1764 __Request__vm_read_t Request_vm_read;
1765 __Request__vm_read_list_t Request_vm_read_list;
1766 __Request__vm_write_t Request_vm_write;
1767 __Request__vm_copy_t Request_vm_copy;
1768 __Request__vm_read_overwrite_t Request_vm_read_overwrite;
1769 __Request__vm_msync_t Request_vm_msync;
1770 __Request__vm_behavior_set_t Request_vm_behavior_set;
1771 __Request__vm_map_external_t Request_vm_map_external;
1772 __Request__vm_machine_attribute_t Request_vm_machine_attribute;
1773 __Request__vm_remap_external_t Request_vm_remap_external;
1774 __Request__task_wire_t Request_task_wire;
1775 __Request__mach_make_memory_entry_t Request_mach_make_memory_entry;
1776 __Request__vm_map_page_query_t Request_vm_map_page_query;
1777 __Request__mach_vm_region_info_t Request_mach_vm_region_info;
1778 __Request__vm_mapped_pages_info_t Request_vm_mapped_pages_info;
1779 __Request__vm_region_recurse_t Request_vm_region_recurse;
1780 __Request__vm_region_recurse_64_t Request_vm_region_recurse_64;
1781 __Request__mach_vm_region_info_64_t Request_mach_vm_region_info_64;
1782 __Request__vm_region_64_t Request_vm_region_64;
1783 __Request__mach_make_memory_entry_64_t Request_mach_make_memory_entry_64;
1784 __Request__vm_map_64_external_t Request_vm_map_64_external;
1785 __Request__vm_purgable_control_external_t Request_vm_purgable_control_external;
1786 __Request__vm_map_exec_lockdown_t Request_vm_map_exec_lockdown;
1787 __Request__vm_remap_new_external_t Request_vm_remap_new_external;
1788};
1789#endif /* __RequestUnion__vm_map_subsystem__defined */
1790/* typedefs for all replies */
1791
1792#ifndef __Reply__vm_map_subsystem__defined
1793#define __Reply__vm_map_subsystem__defined
1794
1795#ifdef __MigPackStructs
1796#pragma pack(push, 4)
1797#endif
1798 typedef struct {
1799 mach_msg_header_t Head;
1800 /* start of the kernel processed data */
1801 mach_msg_body_t msgh_body;
1802 mach_msg_port_descriptor_t object_name;
1803 /* end of the kernel processed data */
1804 NDR_record_t NDR;
1805 vm_address_t address;
1806 vm_size_t size;
1807 mach_msg_type_number_t infoCnt;
1808 int info[10];
1809 } __Reply__vm_region_t __attribute__((unused));
1810#ifdef __MigPackStructs
1811#pragma pack(pop)
1812#endif
1813/* Struct for kernel processed data (Header + Descriptors) */
1814#ifdef __MigPackStructs
1815#pragma pack(push, 4)
1816#endif
1817 typedef struct {
1818 mach_msg_header_t Head;
1819 mach_msg_body_t msgh_body;
1820 mach_msg_port_descriptor_t object_name;
1821 } __ReplyKData__vm_region_t __attribute__((unused));
1822#ifdef __MigPackStructs
1823#pragma pack(pop)
1824#endif
1825/* Struct for pure user data */
1826#ifdef __MigPackStructs
1827#pragma pack(push, 4)
1828#endif
1829 typedef struct {
1830 NDR_record_t NDR;
1831 vm_address_t address;
1832 vm_size_t size;
1833 mach_msg_type_number_t infoCnt;
1834 int info[10];
1835 char padding[0]; /* Avoid generating empty UData structs */
1836 } __ReplyUData__vm_region_t __attribute__((unused));
1837#ifdef __MigPackStructs
1838#pragma pack(pop)
1839#endif
1840
1841#ifdef __MigPackStructs
1842#pragma pack(push, 4)
1843#endif
1844 typedef struct {
1845 mach_msg_header_t Head;
1846 NDR_record_t NDR;
1847 kern_return_t RetCode;
1848 vm_address_t address;
1849 } __Reply__vm_allocate_external_t __attribute__((unused));
1850#ifdef __MigPackStructs
1851#pragma pack(pop)
1852#endif
1853/* Struct for kernel processed data (Header + Descriptors) */
1854#ifdef __MigPackStructs
1855#pragma pack(push, 4)
1856#endif
1857 typedef struct {
1858 mach_msg_header_t Head;
1859 } __ReplyKData__vm_allocate_external_t __attribute__((unused));
1860#ifdef __MigPackStructs
1861#pragma pack(pop)
1862#endif
1863/* Struct for pure user data */
1864#ifdef __MigPackStructs
1865#pragma pack(push, 4)
1866#endif
1867 typedef struct {
1868 NDR_record_t NDR;
1869 kern_return_t RetCode;
1870 vm_address_t address;
1871 char padding[0]; /* Avoid generating empty UData structs */
1872 } __ReplyUData__vm_allocate_external_t __attribute__((unused));
1873#ifdef __MigPackStructs
1874#pragma pack(pop)
1875#endif
1876
1877#ifdef __MigPackStructs
1878#pragma pack(push, 4)
1879#endif
1880 typedef struct {
1881 mach_msg_header_t Head;
1882 NDR_record_t NDR;
1883 kern_return_t RetCode;
1884 } __Reply__vm_deallocate_t __attribute__((unused));
1885#ifdef __MigPackStructs
1886#pragma pack(pop)
1887#endif
1888/* Struct for kernel processed data (Header + Descriptors) */
1889#ifdef __MigPackStructs
1890#pragma pack(push, 4)
1891#endif
1892 typedef struct {
1893 mach_msg_header_t Head;
1894 } __ReplyKData__vm_deallocate_t __attribute__((unused));
1895#ifdef __MigPackStructs
1896#pragma pack(pop)
1897#endif
1898/* Struct for pure user data */
1899#ifdef __MigPackStructs
1900#pragma pack(push, 4)
1901#endif
1902 typedef struct {
1903 NDR_record_t NDR;
1904 kern_return_t RetCode;
1905 char padding[0]; /* Avoid generating empty UData structs */
1906 } __ReplyUData__vm_deallocate_t __attribute__((unused));
1907#ifdef __MigPackStructs
1908#pragma pack(pop)
1909#endif
1910
1911#ifdef __MigPackStructs
1912#pragma pack(push, 4)
1913#endif
1914 typedef struct {
1915 mach_msg_header_t Head;
1916 NDR_record_t NDR;
1917 kern_return_t RetCode;
1918 } __Reply__vm_protect_t __attribute__((unused));
1919#ifdef __MigPackStructs
1920#pragma pack(pop)
1921#endif
1922/* Struct for kernel processed data (Header + Descriptors) */
1923#ifdef __MigPackStructs
1924#pragma pack(push, 4)
1925#endif
1926 typedef struct {
1927 mach_msg_header_t Head;
1928 } __ReplyKData__vm_protect_t __attribute__((unused));
1929#ifdef __MigPackStructs
1930#pragma pack(pop)
1931#endif
1932/* Struct for pure user data */
1933#ifdef __MigPackStructs
1934#pragma pack(push, 4)
1935#endif
1936 typedef struct {
1937 NDR_record_t NDR;
1938 kern_return_t RetCode;
1939 char padding[0]; /* Avoid generating empty UData structs */
1940 } __ReplyUData__vm_protect_t __attribute__((unused));
1941#ifdef __MigPackStructs
1942#pragma pack(pop)
1943#endif
1944
1945#ifdef __MigPackStructs
1946#pragma pack(push, 4)
1947#endif
1948 typedef struct {
1949 mach_msg_header_t Head;
1950 NDR_record_t NDR;
1951 kern_return_t RetCode;
1952 } __Reply__vm_inherit_t __attribute__((unused));
1953#ifdef __MigPackStructs
1954#pragma pack(pop)
1955#endif
1956/* Struct for kernel processed data (Header + Descriptors) */
1957#ifdef __MigPackStructs
1958#pragma pack(push, 4)
1959#endif
1960 typedef struct {
1961 mach_msg_header_t Head;
1962 } __ReplyKData__vm_inherit_t __attribute__((unused));
1963#ifdef __MigPackStructs
1964#pragma pack(pop)
1965#endif
1966/* Struct for pure user data */
1967#ifdef __MigPackStructs
1968#pragma pack(push, 4)
1969#endif
1970 typedef struct {
1971 NDR_record_t NDR;
1972 kern_return_t RetCode;
1973 char padding[0]; /* Avoid generating empty UData structs */
1974 } __ReplyUData__vm_inherit_t __attribute__((unused));
1975#ifdef __MigPackStructs
1976#pragma pack(pop)
1977#endif
1978
1979#ifdef __MigPackStructs
1980#pragma pack(push, 4)
1981#endif
1982 typedef struct {
1983 mach_msg_header_t Head;
1984 /* start of the kernel processed data */
1985 mach_msg_body_t msgh_body;
1986 mach_msg_ool_descriptor_t data;
1987 /* end of the kernel processed data */
1988 NDR_record_t NDR;
1989 mach_msg_type_number_t dataCnt;
1990 } __Reply__vm_read_t __attribute__((unused));
1991#ifdef __MigPackStructs
1992#pragma pack(pop)
1993#endif
1994/* Struct for kernel processed data (Header + Descriptors) */
1995#ifdef __MigPackStructs
1996#pragma pack(push, 4)
1997#endif
1998 typedef struct {
1999 mach_msg_header_t Head;
2000 mach_msg_body_t msgh_body;
2001 mach_msg_ool_descriptor_t data;
2002 } __ReplyKData__vm_read_t __attribute__((unused));
2003#ifdef __MigPackStructs
2004#pragma pack(pop)
2005#endif
2006/* Struct for pure user data */
2007#ifdef __MigPackStructs
2008#pragma pack(push, 4)
2009#endif
2010 typedef struct {
2011 NDR_record_t NDR;
2012 mach_msg_type_number_t dataCnt;
2013 char padding[0]; /* Avoid generating empty UData structs */
2014 } __ReplyUData__vm_read_t __attribute__((unused));
2015#ifdef __MigPackStructs
2016#pragma pack(pop)
2017#endif
2018
2019#ifdef __MigPackStructs
2020#pragma pack(push, 4)
2021#endif
2022 typedef struct {
2023 mach_msg_header_t Head;
2024 NDR_record_t NDR;
2025 kern_return_t RetCode;
2026 vm_read_entry_t data_list;
2027 } __Reply__vm_read_list_t __attribute__((unused));
2028#ifdef __MigPackStructs
2029#pragma pack(pop)
2030#endif
2031/* Struct for kernel processed data (Header + Descriptors) */
2032#ifdef __MigPackStructs
2033#pragma pack(push, 4)
2034#endif
2035 typedef struct {
2036 mach_msg_header_t Head;
2037 } __ReplyKData__vm_read_list_t __attribute__((unused));
2038#ifdef __MigPackStructs
2039#pragma pack(pop)
2040#endif
2041/* Struct for pure user data */
2042#ifdef __MigPackStructs
2043#pragma pack(push, 4)
2044#endif
2045 typedef struct {
2046 NDR_record_t NDR;
2047 kern_return_t RetCode;
2048 vm_read_entry_t data_list;
2049 char padding[0]; /* Avoid generating empty UData structs */
2050 } __ReplyUData__vm_read_list_t __attribute__((unused));
2051#ifdef __MigPackStructs
2052#pragma pack(pop)
2053#endif
2054
2055#ifdef __MigPackStructs
2056#pragma pack(push, 4)
2057#endif
2058 typedef struct {
2059 mach_msg_header_t Head;
2060 NDR_record_t NDR;
2061 kern_return_t RetCode;
2062 } __Reply__vm_write_t __attribute__((unused));
2063#ifdef __MigPackStructs
2064#pragma pack(pop)
2065#endif
2066/* Struct for kernel processed data (Header + Descriptors) */
2067#ifdef __MigPackStructs
2068#pragma pack(push, 4)
2069#endif
2070 typedef struct {
2071 mach_msg_header_t Head;
2072 } __ReplyKData__vm_write_t __attribute__((unused));
2073#ifdef __MigPackStructs
2074#pragma pack(pop)
2075#endif
2076/* Struct for pure user data */
2077#ifdef __MigPackStructs
2078#pragma pack(push, 4)
2079#endif
2080 typedef struct {
2081 NDR_record_t NDR;
2082 kern_return_t RetCode;
2083 char padding[0]; /* Avoid generating empty UData structs */
2084 } __ReplyUData__vm_write_t __attribute__((unused));
2085#ifdef __MigPackStructs
2086#pragma pack(pop)
2087#endif
2088
2089#ifdef __MigPackStructs
2090#pragma pack(push, 4)
2091#endif
2092 typedef struct {
2093 mach_msg_header_t Head;
2094 NDR_record_t NDR;
2095 kern_return_t RetCode;
2096 } __Reply__vm_copy_t __attribute__((unused));
2097#ifdef __MigPackStructs
2098#pragma pack(pop)
2099#endif
2100/* Struct for kernel processed data (Header + Descriptors) */
2101#ifdef __MigPackStructs
2102#pragma pack(push, 4)
2103#endif
2104 typedef struct {
2105 mach_msg_header_t Head;
2106 } __ReplyKData__vm_copy_t __attribute__((unused));
2107#ifdef __MigPackStructs
2108#pragma pack(pop)
2109#endif
2110/* Struct for pure user data */
2111#ifdef __MigPackStructs
2112#pragma pack(push, 4)
2113#endif
2114 typedef struct {
2115 NDR_record_t NDR;
2116 kern_return_t RetCode;
2117 char padding[0]; /* Avoid generating empty UData structs */
2118 } __ReplyUData__vm_copy_t __attribute__((unused));
2119#ifdef __MigPackStructs
2120#pragma pack(pop)
2121#endif
2122
2123#ifdef __MigPackStructs
2124#pragma pack(push, 4)
2125#endif
2126 typedef struct {
2127 mach_msg_header_t Head;
2128 NDR_record_t NDR;
2129 kern_return_t RetCode;
2130 vm_size_t outsize;
2131 } __Reply__vm_read_overwrite_t __attribute__((unused));
2132#ifdef __MigPackStructs
2133#pragma pack(pop)
2134#endif
2135/* Struct for kernel processed data (Header + Descriptors) */
2136#ifdef __MigPackStructs
2137#pragma pack(push, 4)
2138#endif
2139 typedef struct {
2140 mach_msg_header_t Head;
2141 } __ReplyKData__vm_read_overwrite_t __attribute__((unused));
2142#ifdef __MigPackStructs
2143#pragma pack(pop)
2144#endif
2145/* Struct for pure user data */
2146#ifdef __MigPackStructs
2147#pragma pack(push, 4)
2148#endif
2149 typedef struct {
2150 NDR_record_t NDR;
2151 kern_return_t RetCode;
2152 vm_size_t outsize;
2153 char padding[0]; /* Avoid generating empty UData structs */
2154 } __ReplyUData__vm_read_overwrite_t __attribute__((unused));
2155#ifdef __MigPackStructs
2156#pragma pack(pop)
2157#endif
2158
2159#ifdef __MigPackStructs
2160#pragma pack(push, 4)
2161#endif
2162 typedef struct {
2163 mach_msg_header_t Head;
2164 NDR_record_t NDR;
2165 kern_return_t RetCode;
2166 } __Reply__vm_msync_t __attribute__((unused));
2167#ifdef __MigPackStructs
2168#pragma pack(pop)
2169#endif
2170/* Struct for kernel processed data (Header + Descriptors) */
2171#ifdef __MigPackStructs
2172#pragma pack(push, 4)
2173#endif
2174 typedef struct {
2175 mach_msg_header_t Head;
2176 } __ReplyKData__vm_msync_t __attribute__((unused));
2177#ifdef __MigPackStructs
2178#pragma pack(pop)
2179#endif
2180/* Struct for pure user data */
2181#ifdef __MigPackStructs
2182#pragma pack(push, 4)
2183#endif
2184 typedef struct {
2185 NDR_record_t NDR;
2186 kern_return_t RetCode;
2187 char padding[0]; /* Avoid generating empty UData structs */
2188 } __ReplyUData__vm_msync_t __attribute__((unused));
2189#ifdef __MigPackStructs
2190#pragma pack(pop)
2191#endif
2192
2193#ifdef __MigPackStructs
2194#pragma pack(push, 4)
2195#endif
2196 typedef struct {
2197 mach_msg_header_t Head;
2198 NDR_record_t NDR;
2199 kern_return_t RetCode;
2200 } __Reply__vm_behavior_set_t __attribute__((unused));
2201#ifdef __MigPackStructs
2202#pragma pack(pop)
2203#endif
2204/* Struct for kernel processed data (Header + Descriptors) */
2205#ifdef __MigPackStructs
2206#pragma pack(push, 4)
2207#endif
2208 typedef struct {
2209 mach_msg_header_t Head;
2210 } __ReplyKData__vm_behavior_set_t __attribute__((unused));
2211#ifdef __MigPackStructs
2212#pragma pack(pop)
2213#endif
2214/* Struct for pure user data */
2215#ifdef __MigPackStructs
2216#pragma pack(push, 4)
2217#endif
2218 typedef struct {
2219 NDR_record_t NDR;
2220 kern_return_t RetCode;
2221 char padding[0]; /* Avoid generating empty UData structs */
2222 } __ReplyUData__vm_behavior_set_t __attribute__((unused));
2223#ifdef __MigPackStructs
2224#pragma pack(pop)
2225#endif
2226
2227#ifdef __MigPackStructs
2228#pragma pack(push, 4)
2229#endif
2230 typedef struct {
2231 mach_msg_header_t Head;
2232 NDR_record_t NDR;
2233 kern_return_t RetCode;
2234 vm_address_t address;
2235 } __Reply__vm_map_external_t __attribute__((unused));
2236#ifdef __MigPackStructs
2237#pragma pack(pop)
2238#endif
2239/* Struct for kernel processed data (Header + Descriptors) */
2240#ifdef __MigPackStructs
2241#pragma pack(push, 4)
2242#endif
2243 typedef struct {
2244 mach_msg_header_t Head;
2245 } __ReplyKData__vm_map_external_t __attribute__((unused));
2246#ifdef __MigPackStructs
2247#pragma pack(pop)
2248#endif
2249/* Struct for pure user data */
2250#ifdef __MigPackStructs
2251#pragma pack(push, 4)
2252#endif
2253 typedef struct {
2254 NDR_record_t NDR;
2255 kern_return_t RetCode;
2256 vm_address_t address;
2257 char padding[0]; /* Avoid generating empty UData structs */
2258 } __ReplyUData__vm_map_external_t __attribute__((unused));
2259#ifdef __MigPackStructs
2260#pragma pack(pop)
2261#endif
2262
2263#ifdef __MigPackStructs
2264#pragma pack(push, 4)
2265#endif
2266 typedef struct {
2267 mach_msg_header_t Head;
2268 NDR_record_t NDR;
2269 kern_return_t RetCode;
2270 vm_machine_attribute_val_t value;
2271 } __Reply__vm_machine_attribute_t __attribute__((unused));
2272#ifdef __MigPackStructs
2273#pragma pack(pop)
2274#endif
2275/* Struct for kernel processed data (Header + Descriptors) */
2276#ifdef __MigPackStructs
2277#pragma pack(push, 4)
2278#endif
2279 typedef struct {
2280 mach_msg_header_t Head;
2281 } __ReplyKData__vm_machine_attribute_t __attribute__((unused));
2282#ifdef __MigPackStructs
2283#pragma pack(pop)
2284#endif
2285/* Struct for pure user data */
2286#ifdef __MigPackStructs
2287#pragma pack(push, 4)
2288#endif
2289 typedef struct {
2290 NDR_record_t NDR;
2291 kern_return_t RetCode;
2292 vm_machine_attribute_val_t value;
2293 char padding[0]; /* Avoid generating empty UData structs */
2294 } __ReplyUData__vm_machine_attribute_t __attribute__((unused));
2295#ifdef __MigPackStructs
2296#pragma pack(pop)
2297#endif
2298
2299#ifdef __MigPackStructs
2300#pragma pack(push, 4)
2301#endif
2302 typedef struct {
2303 mach_msg_header_t Head;
2304 NDR_record_t NDR;
2305 kern_return_t RetCode;
2306 vm_address_t target_address;
2307 vm_prot_t cur_protection;
2308 vm_prot_t max_protection;
2309 } __Reply__vm_remap_external_t __attribute__((unused));
2310#ifdef __MigPackStructs
2311#pragma pack(pop)
2312#endif
2313/* Struct for kernel processed data (Header + Descriptors) */
2314#ifdef __MigPackStructs
2315#pragma pack(push, 4)
2316#endif
2317 typedef struct {
2318 mach_msg_header_t Head;
2319 } __ReplyKData__vm_remap_external_t __attribute__((unused));
2320#ifdef __MigPackStructs
2321#pragma pack(pop)
2322#endif
2323/* Struct for pure user data */
2324#ifdef __MigPackStructs
2325#pragma pack(push, 4)
2326#endif
2327 typedef struct {
2328 NDR_record_t NDR;
2329 kern_return_t RetCode;
2330 vm_address_t target_address;
2331 vm_prot_t cur_protection;
2332 vm_prot_t max_protection;
2333 char padding[0]; /* Avoid generating empty UData structs */
2334 } __ReplyUData__vm_remap_external_t __attribute__((unused));
2335#ifdef __MigPackStructs
2336#pragma pack(pop)
2337#endif
2338
2339#ifdef __MigPackStructs
2340#pragma pack(push, 4)
2341#endif
2342 typedef struct {
2343 mach_msg_header_t Head;
2344 NDR_record_t NDR;
2345 kern_return_t RetCode;
2346 } __Reply__task_wire_t __attribute__((unused));
2347#ifdef __MigPackStructs
2348#pragma pack(pop)
2349#endif
2350/* Struct for kernel processed data (Header + Descriptors) */
2351#ifdef __MigPackStructs
2352#pragma pack(push, 4)
2353#endif
2354 typedef struct {
2355 mach_msg_header_t Head;
2356 } __ReplyKData__task_wire_t __attribute__((unused));
2357#ifdef __MigPackStructs
2358#pragma pack(pop)
2359#endif
2360/* Struct for pure user data */
2361#ifdef __MigPackStructs
2362#pragma pack(push, 4)
2363#endif
2364 typedef struct {
2365 NDR_record_t NDR;
2366 kern_return_t RetCode;
2367 char padding[0]; /* Avoid generating empty UData structs */
2368 } __ReplyUData__task_wire_t __attribute__((unused));
2369#ifdef __MigPackStructs
2370#pragma pack(pop)
2371#endif
2372
2373#ifdef __MigPackStructs
2374#pragma pack(push, 4)
2375#endif
2376 typedef struct {
2377 mach_msg_header_t Head;
2378 /* start of the kernel processed data */
2379 mach_msg_body_t msgh_body;
2380 mach_msg_port_descriptor_t object_handle;
2381 /* end of the kernel processed data */
2382 NDR_record_t NDR;
2383 vm_size_t size;
2384 } __Reply__mach_make_memory_entry_t __attribute__((unused));
2385#ifdef __MigPackStructs
2386#pragma pack(pop)
2387#endif
2388/* Struct for kernel processed data (Header + Descriptors) */
2389#ifdef __MigPackStructs
2390#pragma pack(push, 4)
2391#endif
2392 typedef struct {
2393 mach_msg_header_t Head;
2394 mach_msg_body_t msgh_body;
2395 mach_msg_port_descriptor_t object_handle;
2396 } __ReplyKData__mach_make_memory_entry_t __attribute__((unused));
2397#ifdef __MigPackStructs
2398#pragma pack(pop)
2399#endif
2400/* Struct for pure user data */
2401#ifdef __MigPackStructs
2402#pragma pack(push, 4)
2403#endif
2404 typedef struct {
2405 NDR_record_t NDR;
2406 vm_size_t size;
2407 char padding[0]; /* Avoid generating empty UData structs */
2408 } __ReplyUData__mach_make_memory_entry_t __attribute__((unused));
2409#ifdef __MigPackStructs
2410#pragma pack(pop)
2411#endif
2412
2413#ifdef __MigPackStructs
2414#pragma pack(push, 4)
2415#endif
2416 typedef struct {
2417 mach_msg_header_t Head;
2418 NDR_record_t NDR;
2419 kern_return_t RetCode;
2420 integer_t disposition;
2421 integer_t ref_count;
2422 } __Reply__vm_map_page_query_t __attribute__((unused));
2423#ifdef __MigPackStructs
2424#pragma pack(pop)
2425#endif
2426/* Struct for kernel processed data (Header + Descriptors) */
2427#ifdef __MigPackStructs
2428#pragma pack(push, 4)
2429#endif
2430 typedef struct {
2431 mach_msg_header_t Head;
2432 } __ReplyKData__vm_map_page_query_t __attribute__((unused));
2433#ifdef __MigPackStructs
2434#pragma pack(pop)
2435#endif
2436/* Struct for pure user data */
2437#ifdef __MigPackStructs
2438#pragma pack(push, 4)
2439#endif
2440 typedef struct {
2441 NDR_record_t NDR;
2442 kern_return_t RetCode;
2443 integer_t disposition;
2444 integer_t ref_count;
2445 char padding[0]; /* Avoid generating empty UData structs */
2446 } __ReplyUData__vm_map_page_query_t __attribute__((unused));
2447#ifdef __MigPackStructs
2448#pragma pack(pop)
2449#endif
2450
2451#ifdef __MigPackStructs
2452#pragma pack(push, 4)
2453#endif
2454 typedef struct {
2455 mach_msg_header_t Head;
2456 /* start of the kernel processed data */
2457 mach_msg_body_t msgh_body;
2458 mach_msg_ool_descriptor_t objects;
2459 /* end of the kernel processed data */
2460 NDR_record_t NDR;
2461 vm_info_region_t region;
2462 mach_msg_type_number_t objectsCnt;
2463 } __Reply__mach_vm_region_info_t __attribute__((unused));
2464#ifdef __MigPackStructs
2465#pragma pack(pop)
2466#endif
2467/* Struct for kernel processed data (Header + Descriptors) */
2468#ifdef __MigPackStructs
2469#pragma pack(push, 4)
2470#endif
2471 typedef struct {
2472 mach_msg_header_t Head;
2473 mach_msg_body_t msgh_body;
2474 mach_msg_ool_descriptor_t objects;
2475 } __ReplyKData__mach_vm_region_info_t __attribute__((unused));
2476#ifdef __MigPackStructs
2477#pragma pack(pop)
2478#endif
2479/* Struct for pure user data */
2480#ifdef __MigPackStructs
2481#pragma pack(push, 4)
2482#endif
2483 typedef struct {
2484 NDR_record_t NDR;
2485 vm_info_region_t region;
2486 mach_msg_type_number_t objectsCnt;
2487 char padding[0]; /* Avoid generating empty UData structs */
2488 } __ReplyUData__mach_vm_region_info_t __attribute__((unused));
2489#ifdef __MigPackStructs
2490#pragma pack(pop)
2491#endif
2492
2493#ifdef __MigPackStructs
2494#pragma pack(push, 4)
2495#endif
2496 typedef struct {
2497 mach_msg_header_t Head;
2498 /* start of the kernel processed data */
2499 mach_msg_body_t msgh_body;
2500 mach_msg_ool_descriptor_t pages;
2501 /* end of the kernel processed data */
2502 NDR_record_t NDR;
2503 mach_msg_type_number_t pagesCnt;
2504 } __Reply__vm_mapped_pages_info_t __attribute__((unused));
2505#ifdef __MigPackStructs
2506#pragma pack(pop)
2507#endif
2508/* Struct for kernel processed data (Header + Descriptors) */
2509#ifdef __MigPackStructs
2510#pragma pack(push, 4)
2511#endif
2512 typedef struct {
2513 mach_msg_header_t Head;
2514 mach_msg_body_t msgh_body;
2515 mach_msg_ool_descriptor_t pages;
2516 } __ReplyKData__vm_mapped_pages_info_t __attribute__((unused));
2517#ifdef __MigPackStructs
2518#pragma pack(pop)
2519#endif
2520/* Struct for pure user data */
2521#ifdef __MigPackStructs
2522#pragma pack(push, 4)
2523#endif
2524 typedef struct {
2525 NDR_record_t NDR;
2526 mach_msg_type_number_t pagesCnt;
2527 char padding[0]; /* Avoid generating empty UData structs */
2528 } __ReplyUData__vm_mapped_pages_info_t __attribute__((unused));
2529#ifdef __MigPackStructs
2530#pragma pack(pop)
2531#endif
2532
2533#ifdef __MigPackStructs
2534#pragma pack(push, 4)
2535#endif
2536 typedef struct {
2537 mach_msg_header_t Head;
2538 NDR_record_t NDR;
2539 kern_return_t RetCode;
2540 vm_address_t address;
2541 vm_size_t size;
2542 natural_t nesting_depth;
2543 mach_msg_type_number_t infoCnt;
2544 int info[19];
2545 } __Reply__vm_region_recurse_t __attribute__((unused));
2546#ifdef __MigPackStructs
2547#pragma pack(pop)
2548#endif
2549/* Struct for kernel processed data (Header + Descriptors) */
2550#ifdef __MigPackStructs
2551#pragma pack(push, 4)
2552#endif
2553 typedef struct {
2554 mach_msg_header_t Head;
2555 } __ReplyKData__vm_region_recurse_t __attribute__((unused));
2556#ifdef __MigPackStructs
2557#pragma pack(pop)
2558#endif
2559/* Struct for pure user data */
2560#ifdef __MigPackStructs
2561#pragma pack(push, 4)
2562#endif
2563 typedef struct {
2564 NDR_record_t NDR;
2565 kern_return_t RetCode;
2566 vm_address_t address;
2567 vm_size_t size;
2568 natural_t nesting_depth;
2569 mach_msg_type_number_t infoCnt;
2570 int info[19];
2571 char padding[0]; /* Avoid generating empty UData structs */
2572 } __ReplyUData__vm_region_recurse_t __attribute__((unused));
2573#ifdef __MigPackStructs
2574#pragma pack(pop)
2575#endif
2576
2577#ifdef __MigPackStructs
2578#pragma pack(push, 4)
2579#endif
2580 typedef struct {
2581 mach_msg_header_t Head;
2582 NDR_record_t NDR;
2583 kern_return_t RetCode;
2584 vm_address_t address;
2585 vm_size_t size;
2586 natural_t nesting_depth;
2587 mach_msg_type_number_t infoCnt;
2588 int info[19];
2589 } __Reply__vm_region_recurse_64_t __attribute__((unused));
2590#ifdef __MigPackStructs
2591#pragma pack(pop)
2592#endif
2593/* Struct for kernel processed data (Header + Descriptors) */
2594#ifdef __MigPackStructs
2595#pragma pack(push, 4)
2596#endif
2597 typedef struct {
2598 mach_msg_header_t Head;
2599 } __ReplyKData__vm_region_recurse_64_t __attribute__((unused));
2600#ifdef __MigPackStructs
2601#pragma pack(pop)
2602#endif
2603/* Struct for pure user data */
2604#ifdef __MigPackStructs
2605#pragma pack(push, 4)
2606#endif
2607 typedef struct {
2608 NDR_record_t NDR;
2609 kern_return_t RetCode;
2610 vm_address_t address;
2611 vm_size_t size;
2612 natural_t nesting_depth;
2613 mach_msg_type_number_t infoCnt;
2614 int info[19];
2615 char padding[0]; /* Avoid generating empty UData structs */
2616 } __ReplyUData__vm_region_recurse_64_t __attribute__((unused));
2617#ifdef __MigPackStructs
2618#pragma pack(pop)
2619#endif
2620
2621#ifdef __MigPackStructs
2622#pragma pack(push, 4)
2623#endif
2624 typedef struct {
2625 mach_msg_header_t Head;
2626 /* start of the kernel processed data */
2627 mach_msg_body_t msgh_body;
2628 mach_msg_ool_descriptor_t objects;
2629 /* end of the kernel processed data */
2630 NDR_record_t NDR;
2631 vm_info_region_64_t region;
2632 mach_msg_type_number_t objectsCnt;
2633 } __Reply__mach_vm_region_info_64_t __attribute__((unused));
2634#ifdef __MigPackStructs
2635#pragma pack(pop)
2636#endif
2637/* Struct for kernel processed data (Header + Descriptors) */
2638#ifdef __MigPackStructs
2639#pragma pack(push, 4)
2640#endif
2641 typedef struct {
2642 mach_msg_header_t Head;
2643 mach_msg_body_t msgh_body;
2644 mach_msg_ool_descriptor_t objects;
2645 } __ReplyKData__mach_vm_region_info_64_t __attribute__((unused));
2646#ifdef __MigPackStructs
2647#pragma pack(pop)
2648#endif
2649/* Struct for pure user data */
2650#ifdef __MigPackStructs
2651#pragma pack(push, 4)
2652#endif
2653 typedef struct {
2654 NDR_record_t NDR;
2655 vm_info_region_64_t region;
2656 mach_msg_type_number_t objectsCnt;
2657 char padding[0]; /* Avoid generating empty UData structs */
2658 } __ReplyUData__mach_vm_region_info_64_t __attribute__((unused));
2659#ifdef __MigPackStructs
2660#pragma pack(pop)
2661#endif
2662
2663#ifdef __MigPackStructs
2664#pragma pack(push, 4)
2665#endif
2666 typedef struct {
2667 mach_msg_header_t Head;
2668 /* start of the kernel processed data */
2669 mach_msg_body_t msgh_body;
2670 mach_msg_port_descriptor_t object_name;
2671 /* end of the kernel processed data */
2672 NDR_record_t NDR;
2673 vm_address_t address;
2674 vm_size_t size;
2675 mach_msg_type_number_t infoCnt;
2676 int info[10];
2677 } __Reply__vm_region_64_t __attribute__((unused));
2678#ifdef __MigPackStructs
2679#pragma pack(pop)
2680#endif
2681/* Struct for kernel processed data (Header + Descriptors) */
2682#ifdef __MigPackStructs
2683#pragma pack(push, 4)
2684#endif
2685 typedef struct {
2686 mach_msg_header_t Head;
2687 mach_msg_body_t msgh_body;
2688 mach_msg_port_descriptor_t object_name;
2689 } __ReplyKData__vm_region_64_t __attribute__((unused));
2690#ifdef __MigPackStructs
2691#pragma pack(pop)
2692#endif
2693/* Struct for pure user data */
2694#ifdef __MigPackStructs
2695#pragma pack(push, 4)
2696#endif
2697 typedef struct {
2698 NDR_record_t NDR;
2699 vm_address_t address;
2700 vm_size_t size;
2701 mach_msg_type_number_t infoCnt;
2702 int info[10];
2703 char padding[0]; /* Avoid generating empty UData structs */
2704 } __ReplyUData__vm_region_64_t __attribute__((unused));
2705#ifdef __MigPackStructs
2706#pragma pack(pop)
2707#endif
2708
2709#ifdef __MigPackStructs
2710#pragma pack(push, 4)
2711#endif
2712 typedef struct {
2713 mach_msg_header_t Head;
2714 /* start of the kernel processed data */
2715 mach_msg_body_t msgh_body;
2716 mach_msg_port_descriptor_t object_handle;
2717 /* end of the kernel processed data */
2718 NDR_record_t NDR;
2719 memory_object_size_t size;
2720 } __Reply__mach_make_memory_entry_64_t __attribute__((unused));
2721#ifdef __MigPackStructs
2722#pragma pack(pop)
2723#endif
2724/* Struct for kernel processed data (Header + Descriptors) */
2725#ifdef __MigPackStructs
2726#pragma pack(push, 4)
2727#endif
2728 typedef struct {
2729 mach_msg_header_t Head;
2730 mach_msg_body_t msgh_body;
2731 mach_msg_port_descriptor_t object_handle;
2732 } __ReplyKData__mach_make_memory_entry_64_t __attribute__((unused));
2733#ifdef __MigPackStructs
2734#pragma pack(pop)
2735#endif
2736/* Struct for pure user data */
2737#ifdef __MigPackStructs
2738#pragma pack(push, 4)
2739#endif
2740 typedef struct {
2741 NDR_record_t NDR;
2742 memory_object_size_t size;
2743 char padding[0]; /* Avoid generating empty UData structs */
2744 } __ReplyUData__mach_make_memory_entry_64_t __attribute__((unused));
2745#ifdef __MigPackStructs
2746#pragma pack(pop)
2747#endif
2748
2749#ifdef __MigPackStructs
2750#pragma pack(push, 4)
2751#endif
2752 typedef struct {
2753 mach_msg_header_t Head;
2754 NDR_record_t NDR;
2755 kern_return_t RetCode;
2756 vm_address_t address;
2757 } __Reply__vm_map_64_external_t __attribute__((unused));
2758#ifdef __MigPackStructs
2759#pragma pack(pop)
2760#endif
2761/* Struct for kernel processed data (Header + Descriptors) */
2762#ifdef __MigPackStructs
2763#pragma pack(push, 4)
2764#endif
2765 typedef struct {
2766 mach_msg_header_t Head;
2767 } __ReplyKData__vm_map_64_external_t __attribute__((unused));
2768#ifdef __MigPackStructs
2769#pragma pack(pop)
2770#endif
2771/* Struct for pure user data */
2772#ifdef __MigPackStructs
2773#pragma pack(push, 4)
2774#endif
2775 typedef struct {
2776 NDR_record_t NDR;
2777 kern_return_t RetCode;
2778 vm_address_t address;
2779 char padding[0]; /* Avoid generating empty UData structs */
2780 } __ReplyUData__vm_map_64_external_t __attribute__((unused));
2781#ifdef __MigPackStructs
2782#pragma pack(pop)
2783#endif
2784
2785#ifdef __MigPackStructs
2786#pragma pack(push, 4)
2787#endif
2788 typedef struct {
2789 mach_msg_header_t Head;
2790 NDR_record_t NDR;
2791 kern_return_t RetCode;
2792 int state;
2793 } __Reply__vm_purgable_control_external_t __attribute__((unused));
2794#ifdef __MigPackStructs
2795#pragma pack(pop)
2796#endif
2797/* Struct for kernel processed data (Header + Descriptors) */
2798#ifdef __MigPackStructs
2799#pragma pack(push, 4)
2800#endif
2801 typedef struct {
2802 mach_msg_header_t Head;
2803 } __ReplyKData__vm_purgable_control_external_t __attribute__((unused));
2804#ifdef __MigPackStructs
2805#pragma pack(pop)
2806#endif
2807/* Struct for pure user data */
2808#ifdef __MigPackStructs
2809#pragma pack(push, 4)
2810#endif
2811 typedef struct {
2812 NDR_record_t NDR;
2813 kern_return_t RetCode;
2814 int state;
2815 char padding[0]; /* Avoid generating empty UData structs */
2816 } __ReplyUData__vm_purgable_control_external_t __attribute__((unused));
2817#ifdef __MigPackStructs
2818#pragma pack(pop)
2819#endif
2820
2821#ifdef __MigPackStructs
2822#pragma pack(push, 4)
2823#endif
2824 typedef struct {
2825 mach_msg_header_t Head;
2826 NDR_record_t NDR;
2827 kern_return_t RetCode;
2828 } __Reply__vm_map_exec_lockdown_t __attribute__((unused));
2829#ifdef __MigPackStructs
2830#pragma pack(pop)
2831#endif
2832/* Struct for kernel processed data (Header + Descriptors) */
2833#ifdef __MigPackStructs
2834#pragma pack(push, 4)
2835#endif
2836 typedef struct {
2837 mach_msg_header_t Head;
2838 } __ReplyKData__vm_map_exec_lockdown_t __attribute__((unused));
2839#ifdef __MigPackStructs
2840#pragma pack(pop)
2841#endif
2842/* Struct for pure user data */
2843#ifdef __MigPackStructs
2844#pragma pack(push, 4)
2845#endif
2846 typedef struct {
2847 NDR_record_t NDR;
2848 kern_return_t RetCode;
2849 char padding[0]; /* Avoid generating empty UData structs */
2850 } __ReplyUData__vm_map_exec_lockdown_t __attribute__((unused));
2851#ifdef __MigPackStructs
2852#pragma pack(pop)
2853#endif
2854
2855#ifdef __MigPackStructs
2856#pragma pack(push, 4)
2857#endif
2858 typedef struct {
2859 mach_msg_header_t Head;
2860 NDR_record_t NDR;
2861 kern_return_t RetCode;
2862 vm_address_t target_address;
2863 vm_prot_t cur_protection;
2864 vm_prot_t max_protection;
2865 } __Reply__vm_remap_new_external_t __attribute__((unused));
2866#ifdef __MigPackStructs
2867#pragma pack(pop)
2868#endif
2869/* Struct for kernel processed data (Header + Descriptors) */
2870#ifdef __MigPackStructs
2871#pragma pack(push, 4)
2872#endif
2873 typedef struct {
2874 mach_msg_header_t Head;
2875 } __ReplyKData__vm_remap_new_external_t __attribute__((unused));
2876#ifdef __MigPackStructs
2877#pragma pack(pop)
2878#endif
2879/* Struct for pure user data */
2880#ifdef __MigPackStructs
2881#pragma pack(push, 4)
2882#endif
2883 typedef struct {
2884 NDR_record_t NDR;
2885 kern_return_t RetCode;
2886 vm_address_t target_address;
2887 vm_prot_t cur_protection;
2888 vm_prot_t max_protection;
2889 char padding[0]; /* Avoid generating empty UData structs */
2890 } __ReplyUData__vm_remap_new_external_t __attribute__((unused));
2891#ifdef __MigPackStructs
2892#pragma pack(pop)
2893#endif
2894#endif /* !__Reply__vm_map_subsystem__defined */
2895
2896
2897/* union of all replies */
2898
2899#ifndef __ReplyUnion__vm_map_subsystem__defined
2900#define __ReplyUnion__vm_map_subsystem__defined
2901union __ReplyUnion__vm_map_subsystem {
2902 __Reply__vm_region_t Reply_vm_region;
2903 __Reply__vm_allocate_external_t Reply_vm_allocate_external;
2904 __Reply__vm_deallocate_t Reply_vm_deallocate;
2905 __Reply__vm_protect_t Reply_vm_protect;
2906 __Reply__vm_inherit_t Reply_vm_inherit;
2907 __Reply__vm_read_t Reply_vm_read;
2908 __Reply__vm_read_list_t Reply_vm_read_list;
2909 __Reply__vm_write_t Reply_vm_write;
2910 __Reply__vm_copy_t Reply_vm_copy;
2911 __Reply__vm_read_overwrite_t Reply_vm_read_overwrite;
2912 __Reply__vm_msync_t Reply_vm_msync;
2913 __Reply__vm_behavior_set_t Reply_vm_behavior_set;
2914 __Reply__vm_map_external_t Reply_vm_map_external;
2915 __Reply__vm_machine_attribute_t Reply_vm_machine_attribute;
2916 __Reply__vm_remap_external_t Reply_vm_remap_external;
2917 __Reply__task_wire_t Reply_task_wire;
2918 __Reply__mach_make_memory_entry_t Reply_mach_make_memory_entry;
2919 __Reply__vm_map_page_query_t Reply_vm_map_page_query;
2920 __Reply__mach_vm_region_info_t Reply_mach_vm_region_info;
2921 __Reply__vm_mapped_pages_info_t Reply_vm_mapped_pages_info;
2922 __Reply__vm_region_recurse_t Reply_vm_region_recurse;
2923 __Reply__vm_region_recurse_64_t Reply_vm_region_recurse_64;
2924 __Reply__mach_vm_region_info_64_t Reply_mach_vm_region_info_64;
2925 __Reply__vm_region_64_t Reply_vm_region_64;
2926 __Reply__mach_make_memory_entry_64_t Reply_mach_make_memory_entry_64;
2927 __Reply__vm_map_64_external_t Reply_vm_map_64_external;
2928 __Reply__vm_purgable_control_external_t Reply_vm_purgable_control_external;
2929 __Reply__vm_map_exec_lockdown_t Reply_vm_map_exec_lockdown;
2930 __Reply__vm_remap_new_external_t Reply_vm_remap_new_external;
2931};
2932#endif /* __ReplyUnion__vm_map_subsystem__defined */
2933
2934#ifndef subsystem_to_name_map_vm_map
2935#define subsystem_to_name_map_vm_map \
2936 { "vm_region", 3800 },\
2937 { "vm_allocate_external", 3801 },\
2938 { "vm_deallocate", 3802 },\
2939 { "vm_protect", 3803 },\
2940 { "vm_inherit", 3804 },\
2941 { "vm_read", 3805 },\
2942 { "vm_read_list", 3806 },\
2943 { "vm_write", 3807 },\
2944 { "vm_copy", 3808 },\
2945 { "vm_read_overwrite", 3809 },\
2946 { "vm_msync", 3810 },\
2947 { "vm_behavior_set", 3811 },\
2948 { "vm_map_external", 3812 },\
2949 { "vm_machine_attribute", 3813 },\
2950 { "vm_remap_external", 3814 },\
2951 { "task_wire", 3815 },\
2952 { "mach_make_memory_entry", 3816 },\
2953 { "vm_map_page_query", 3817 },\
2954 { "mach_vm_region_info", 3818 },\
2955 { "vm_mapped_pages_info", 3819 },\
2956 { "vm_region_recurse", 3821 },\
2957 { "vm_region_recurse_64", 3822 },\
2958 { "mach_vm_region_info_64", 3823 },\
2959 { "vm_region_64", 3824 },\
2960 { "mach_make_memory_entry_64", 3825 },\
2961 { "vm_map_64_external", 3826 },\
2962 { "vm_purgable_control_external", 3830 },\
2963 { "vm_map_exec_lockdown", 3831 },\
2964 { "vm_remap_new_external", 3832 }
2965#endif
2966
2967#ifdef __AfterMigServerHeader
2968__AfterMigServerHeader
2969#endif /* __AfterMigServerHeader */
2970
2971#endif /* _vm_map_server_ */
2972