1#ifndef _thread_act_user_
2#define _thread_act_user_
3
4/* Module thread_act */
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 thread_act_MSG_COUNT
55#define thread_act_MSG_COUNT 34
56#endif /* thread_act_MSG_COUNT */
57
58#include <Availability.h>
59#include <mach/std_types.h>
60#include <mach/mig.h>
61#include <mach/mig.h>
62#include <mach/mach_types.h>
63
64#ifdef __BeforeMigUserHeader
65__BeforeMigUserHeader
66#endif /* __BeforeMigUserHeader */
67
68#include <sys/cdefs.h>
69__BEGIN_DECLS
70
71
72/* Routine thread_terminate */
73#ifdef mig_external
74mig_external
75#else
76extern
77#endif /* mig_external */
78__TVOS_PROHIBITED __WATCHOS_PROHIBITED
79kern_return_t thread_terminate
80(
81 thread_act_t target_act
82);
83
84/* Routine act_get_state */
85#ifdef mig_external
86mig_external
87#else
88extern
89#endif /* mig_external */
90__TVOS_PROHIBITED __WATCHOS_PROHIBITED
91kern_return_t act_get_state
92(
93 thread_read_t target_act,
94 int flavor,
95 thread_state_t old_state,
96 mach_msg_type_number_t *old_stateCnt
97);
98
99/* Routine act_set_state */
100#ifdef mig_external
101mig_external
102#else
103extern
104#endif /* mig_external */
105__TVOS_PROHIBITED __WATCHOS_PROHIBITED
106kern_return_t act_set_state
107(
108 thread_act_t target_act,
109 int flavor,
110 thread_state_t new_state,
111 mach_msg_type_number_t new_stateCnt
112);
113
114/* Routine thread_get_state */
115#ifdef mig_external
116mig_external
117#else
118extern
119#endif /* mig_external */
120__WATCHOS_PROHIBITED
121kern_return_t thread_get_state
122(
123 thread_read_t target_act,
124 thread_state_flavor_t flavor,
125 thread_state_t old_state,
126 mach_msg_type_number_t *old_stateCnt
127);
128
129/* Routine thread_set_state */
130#ifdef mig_external
131mig_external
132#else
133extern
134#endif /* mig_external */
135__WATCHOS_PROHIBITED
136kern_return_t thread_set_state
137(
138 thread_act_t target_act,
139 thread_state_flavor_t flavor,
140 thread_state_t new_state,
141 mach_msg_type_number_t new_stateCnt
142);
143
144/* Routine thread_suspend */
145#ifdef mig_external
146mig_external
147#else
148extern
149#endif /* mig_external */
150__WATCHOS_PROHIBITED
151kern_return_t thread_suspend
152(
153 thread_read_t target_act
154);
155
156/* Routine thread_resume */
157#ifdef mig_external
158mig_external
159#else
160extern
161#endif /* mig_external */
162__WATCHOS_PROHIBITED
163kern_return_t thread_resume
164(
165 thread_read_t target_act
166);
167
168/* Routine thread_abort */
169#ifdef mig_external
170mig_external
171#else
172extern
173#endif /* mig_external */
174__WATCHOS_PROHIBITED
175kern_return_t thread_abort
176(
177 thread_act_t target_act
178);
179
180/* Routine thread_abort_safely */
181#ifdef mig_external
182mig_external
183#else
184extern
185#endif /* mig_external */
186__WATCHOS_PROHIBITED
187kern_return_t thread_abort_safely
188(
189 thread_act_t target_act
190);
191
192/* Routine thread_depress_abort */
193#ifdef mig_external
194mig_external
195#else
196extern
197#endif /* mig_external */
198__TVOS_PROHIBITED __WATCHOS_PROHIBITED
199kern_return_t thread_depress_abort
200(
201 thread_act_t thread
202);
203
204/* Routine thread_get_special_port */
205#ifdef mig_external
206mig_external
207#else
208extern
209#endif /* mig_external */
210__TVOS_PROHIBITED __WATCHOS_PROHIBITED
211kern_return_t thread_get_special_port
212(
213 thread_inspect_t thr_act,
214 int which_port,
215 mach_port_t *special_port
216);
217
218/* Routine thread_set_special_port */
219#ifdef mig_external
220mig_external
221#else
222extern
223#endif /* mig_external */
224__TVOS_PROHIBITED __WATCHOS_PROHIBITED
225kern_return_t thread_set_special_port
226(
227 thread_act_t thr_act,
228 int which_port,
229 mach_port_t special_port
230);
231
232/* Routine thread_info */
233#ifdef mig_external
234mig_external
235#else
236extern
237#endif /* mig_external */
238kern_return_t thread_info
239(
240 thread_inspect_t target_act,
241 thread_flavor_t flavor,
242 thread_info_t thread_info_out,
243 mach_msg_type_number_t *thread_info_outCnt
244);
245
246/* Routine thread_set_exception_ports */
247#ifdef mig_external
248mig_external
249#else
250extern
251#endif /* mig_external */
252__TVOS_PROHIBITED __WATCHOS_PROHIBITED
253kern_return_t thread_set_exception_ports
254(
255 thread_act_t thread,
256 exception_mask_t exception_mask,
257 mach_port_t new_port,
258 exception_behavior_t behavior,
259 thread_state_flavor_t new_flavor
260);
261
262/* Routine thread_get_exception_ports */
263#ifdef mig_external
264mig_external
265#else
266extern
267#endif /* mig_external */
268__TVOS_PROHIBITED __WATCHOS_PROHIBITED
269kern_return_t thread_get_exception_ports
270(
271 thread_act_t thread,
272 exception_mask_t exception_mask,
273 exception_mask_array_t masks,
274 mach_msg_type_number_t *masksCnt,
275 exception_handler_array_t old_handlers,
276 exception_behavior_array_t old_behaviors,
277 exception_flavor_array_t old_flavors
278);
279
280/* Routine thread_swap_exception_ports */
281#ifdef mig_external
282mig_external
283#else
284extern
285#endif /* mig_external */
286__TVOS_PROHIBITED __WATCHOS_PROHIBITED
287kern_return_t thread_swap_exception_ports
288(
289 thread_act_t thread,
290 exception_mask_t exception_mask,
291 mach_port_t new_port,
292 exception_behavior_t behavior,
293 thread_state_flavor_t new_flavor,
294 exception_mask_array_t masks,
295 mach_msg_type_number_t *masksCnt,
296 exception_handler_array_t old_handlers,
297 exception_behavior_array_t old_behaviors,
298 exception_flavor_array_t old_flavors
299);
300
301/* Routine thread_policy */
302#ifdef mig_external
303mig_external
304#else
305extern
306#endif /* mig_external */
307kern_return_t thread_policy
308(
309 thread_act_t thr_act,
310 policy_t policy,
311 policy_base_t base,
312 mach_msg_type_number_t baseCnt,
313 boolean_t set_limit
314);
315
316/* Routine thread_policy_set */
317#ifdef mig_external
318mig_external
319#else
320extern
321#endif /* mig_external */
322kern_return_t thread_policy_set
323(
324 thread_act_t thread,
325 thread_policy_flavor_t flavor,
326 thread_policy_t policy_info,
327 mach_msg_type_number_t policy_infoCnt
328);
329
330/* Routine thread_policy_get */
331#ifdef mig_external
332mig_external
333#else
334extern
335#endif /* mig_external */
336kern_return_t thread_policy_get
337(
338 thread_inspect_t thread,
339 thread_policy_flavor_t flavor,
340 thread_policy_t policy_info,
341 mach_msg_type_number_t *policy_infoCnt,
342 boolean_t *get_default
343);
344
345/* Routine thread_sample */
346#ifdef mig_external
347mig_external
348#else
349extern
350#endif /* mig_external */
351kern_return_t thread_sample
352(
353 thread_act_t thread,
354 mach_port_t reply
355);
356
357/* Routine etap_trace_thread */
358#ifdef mig_external
359mig_external
360#else
361extern
362#endif /* mig_external */
363kern_return_t etap_trace_thread
364(
365 thread_act_t target_act,
366 boolean_t trace_status
367);
368
369/* Routine thread_assign */
370#ifdef mig_external
371mig_external
372#else
373extern
374#endif /* mig_external */
375kern_return_t thread_assign
376(
377 thread_act_t thread,
378 processor_set_t new_set
379);
380
381/* Routine thread_assign_default */
382#ifdef mig_external
383mig_external
384#else
385extern
386#endif /* mig_external */
387kern_return_t thread_assign_default
388(
389 thread_act_t thread
390);
391
392/* Routine thread_get_assignment */
393#ifdef mig_external
394mig_external
395#else
396extern
397#endif /* mig_external */
398kern_return_t thread_get_assignment
399(
400 thread_inspect_t thread,
401 processor_set_name_t *assigned_set
402);
403
404/* Routine thread_set_policy */
405#ifdef mig_external
406mig_external
407#else
408extern
409#endif /* mig_external */
410kern_return_t thread_set_policy
411(
412 thread_act_t thr_act,
413 processor_set_t pset,
414 policy_t policy,
415 policy_base_t base,
416 mach_msg_type_number_t baseCnt,
417 policy_limit_t limit,
418 mach_msg_type_number_t limitCnt
419);
420
421/* Routine thread_get_mach_voucher */
422#ifdef mig_external
423mig_external
424#else
425extern
426#endif /* mig_external */
427__TVOS_PROHIBITED __WATCHOS_PROHIBITED
428kern_return_t thread_get_mach_voucher
429(
430 thread_read_t thr_act,
431 mach_voucher_selector_t which,
432 ipc_voucher_t *voucher
433);
434
435/* Routine thread_set_mach_voucher */
436#ifdef mig_external
437mig_external
438#else
439extern
440#endif /* mig_external */
441__TVOS_PROHIBITED __WATCHOS_PROHIBITED
442kern_return_t thread_set_mach_voucher
443(
444 thread_act_t thr_act,
445 ipc_voucher_t voucher
446);
447
448/* Routine thread_swap_mach_voucher */
449#ifdef mig_external
450mig_external
451#else
452extern
453#endif /* mig_external */
454__TVOS_PROHIBITED __WATCHOS_PROHIBITED
455kern_return_t thread_swap_mach_voucher
456(
457 thread_act_t thr_act,
458 ipc_voucher_t new_voucher,
459 ipc_voucher_t *old_voucher
460);
461
462/* Routine thread_convert_thread_state */
463#ifdef mig_external
464mig_external
465#else
466extern
467#endif /* mig_external */
468kern_return_t thread_convert_thread_state
469(
470 thread_act_t thread,
471 int direction,
472 thread_state_flavor_t flavor,
473 thread_state_t in_state,
474 mach_msg_type_number_t in_stateCnt,
475 thread_state_t out_state,
476 mach_msg_type_number_t *out_stateCnt
477);
478
479/* Routine thread_get_exception_ports_info */
480#ifdef mig_external
481mig_external
482#else
483extern
484#endif /* mig_external */
485kern_return_t thread_get_exception_ports_info
486(
487 mach_port_t port,
488 exception_mask_t exception_mask,
489 exception_mask_array_t masks,
490 mach_msg_type_number_t *masksCnt,
491 exception_handler_info_array_t old_handlers_info,
492 exception_behavior_array_t old_behaviors,
493 exception_flavor_array_t old_flavors
494);
495
496/* Routine thread_adopt_exception_handler */
497#ifdef mig_external
498mig_external
499#else
500extern
501#endif /* mig_external */
502__TVOS_PROHIBITED __WATCHOS_PROHIBITED
503kern_return_t thread_adopt_exception_handler
504(
505 thread_t thread,
506 mach_port_t exc_port,
507 exception_mask_t exc_mask,
508 exception_behavior_t behavior_mask,
509 thread_state_flavor_t flavor_mask
510);
511
512/* Routine thread_suspend2 */
513#ifdef mig_external
514mig_external
515#else
516extern
517#endif /* mig_external */
518__WATCHOS_PROHIBITED
519kern_return_t thread_suspend2
520(
521 thread_read_t target_act,
522 mach_port_t *suspend_token
523);
524
525/* Routine thread_resume2 */
526#ifdef mig_external
527mig_external
528#else
529extern
530#endif /* mig_external */
531__WATCHOS_PROHIBITED
532kern_return_t thread_resume2
533(
534 mach_port_t suspend_token
535);
536
537__END_DECLS
538
539/********************** Caution **************************/
540/* The following data types should be used to calculate */
541/* maximum message sizes only. The actual message may be */
542/* smaller, and the position of the arguments within the */
543/* message layout may vary from what is presented here. */
544/* For example, if any of the arguments are variable- */
545/* sized, and less than the maximum is sent, the data */
546/* will be packed tight in the actual message to reduce */
547/* the presence of holes. */
548/********************** Caution **************************/
549
550/* typedefs for all requests */
551
552#ifndef __Request__thread_act_subsystem__defined
553#define __Request__thread_act_subsystem__defined
554
555#ifdef __MigPackStructs
556#pragma pack(push, 4)
557#endif
558 typedef struct {
559 mach_msg_header_t Head;
560 } __Request__thread_terminate_t __attribute__((unused));
561#ifdef __MigPackStructs
562#pragma pack(pop)
563#endif
564
565#ifdef __MigPackStructs
566#pragma pack(push, 4)
567#endif
568 typedef struct {
569 mach_msg_header_t Head;
570 NDR_record_t NDR;
571 int flavor;
572 mach_msg_type_number_t old_stateCnt;
573 } __Request__act_get_state_t __attribute__((unused));
574#ifdef __MigPackStructs
575#pragma pack(pop)
576#endif
577
578#ifdef __MigPackStructs
579#pragma pack(push, 4)
580#endif
581 typedef struct {
582 mach_msg_header_t Head;
583 NDR_record_t NDR;
584 int flavor;
585 mach_msg_type_number_t new_stateCnt;
586 natural_t new_state[1296];
587 } __Request__act_set_state_t __attribute__((unused));
588#ifdef __MigPackStructs
589#pragma pack(pop)
590#endif
591
592#ifdef __MigPackStructs
593#pragma pack(push, 4)
594#endif
595 typedef struct {
596 mach_msg_header_t Head;
597 NDR_record_t NDR;
598 thread_state_flavor_t flavor;
599 mach_msg_type_number_t old_stateCnt;
600 } __Request__thread_get_state_t __attribute__((unused));
601#ifdef __MigPackStructs
602#pragma pack(pop)
603#endif
604
605#ifdef __MigPackStructs
606#pragma pack(push, 4)
607#endif
608 typedef struct {
609 mach_msg_header_t Head;
610 NDR_record_t NDR;
611 thread_state_flavor_t flavor;
612 mach_msg_type_number_t new_stateCnt;
613 natural_t new_state[1296];
614 } __Request__thread_set_state_t __attribute__((unused));
615#ifdef __MigPackStructs
616#pragma pack(pop)
617#endif
618
619#ifdef __MigPackStructs
620#pragma pack(push, 4)
621#endif
622 typedef struct {
623 mach_msg_header_t Head;
624 } __Request__thread_suspend_t __attribute__((unused));
625#ifdef __MigPackStructs
626#pragma pack(pop)
627#endif
628
629#ifdef __MigPackStructs
630#pragma pack(push, 4)
631#endif
632 typedef struct {
633 mach_msg_header_t Head;
634 } __Request__thread_resume_t __attribute__((unused));
635#ifdef __MigPackStructs
636#pragma pack(pop)
637#endif
638
639#ifdef __MigPackStructs
640#pragma pack(push, 4)
641#endif
642 typedef struct {
643 mach_msg_header_t Head;
644 } __Request__thread_abort_t __attribute__((unused));
645#ifdef __MigPackStructs
646#pragma pack(pop)
647#endif
648
649#ifdef __MigPackStructs
650#pragma pack(push, 4)
651#endif
652 typedef struct {
653 mach_msg_header_t Head;
654 } __Request__thread_abort_safely_t __attribute__((unused));
655#ifdef __MigPackStructs
656#pragma pack(pop)
657#endif
658
659#ifdef __MigPackStructs
660#pragma pack(push, 4)
661#endif
662 typedef struct {
663 mach_msg_header_t Head;
664 } __Request__thread_depress_abort_t __attribute__((unused));
665#ifdef __MigPackStructs
666#pragma pack(pop)
667#endif
668
669#ifdef __MigPackStructs
670#pragma pack(push, 4)
671#endif
672 typedef struct {
673 mach_msg_header_t Head;
674 NDR_record_t NDR;
675 int which_port;
676 } __Request__thread_get_special_port_t __attribute__((unused));
677#ifdef __MigPackStructs
678#pragma pack(pop)
679#endif
680
681#ifdef __MigPackStructs
682#pragma pack(push, 4)
683#endif
684 typedef struct {
685 mach_msg_header_t Head;
686 /* start of the kernel processed data */
687 mach_msg_body_t msgh_body;
688 mach_msg_port_descriptor_t special_port;
689 /* end of the kernel processed data */
690 NDR_record_t NDR;
691 int which_port;
692 } __Request__thread_set_special_port_t __attribute__((unused));
693#ifdef __MigPackStructs
694#pragma pack(pop)
695#endif
696
697#ifdef __MigPackStructs
698#pragma pack(push, 4)
699#endif
700 typedef struct {
701 mach_msg_header_t Head;
702 NDR_record_t NDR;
703 thread_flavor_t flavor;
704 mach_msg_type_number_t thread_info_outCnt;
705 } __Request__thread_info_t __attribute__((unused));
706#ifdef __MigPackStructs
707#pragma pack(pop)
708#endif
709
710#ifdef __MigPackStructs
711#pragma pack(push, 4)
712#endif
713 typedef struct {
714 mach_msg_header_t Head;
715 /* start of the kernel processed data */
716 mach_msg_body_t msgh_body;
717 mach_msg_port_descriptor_t new_port;
718 /* end of the kernel processed data */
719 NDR_record_t NDR;
720 exception_mask_t exception_mask;
721 exception_behavior_t behavior;
722 thread_state_flavor_t new_flavor;
723 } __Request__thread_set_exception_ports_t __attribute__((unused));
724#ifdef __MigPackStructs
725#pragma pack(pop)
726#endif
727
728#ifdef __MigPackStructs
729#pragma pack(push, 4)
730#endif
731 typedef struct {
732 mach_msg_header_t Head;
733 NDR_record_t NDR;
734 exception_mask_t exception_mask;
735 } __Request__thread_get_exception_ports_t __attribute__((unused));
736#ifdef __MigPackStructs
737#pragma pack(pop)
738#endif
739
740#ifdef __MigPackStructs
741#pragma pack(push, 4)
742#endif
743 typedef struct {
744 mach_msg_header_t Head;
745 /* start of the kernel processed data */
746 mach_msg_body_t msgh_body;
747 mach_msg_port_descriptor_t new_port;
748 /* end of the kernel processed data */
749 NDR_record_t NDR;
750 exception_mask_t exception_mask;
751 exception_behavior_t behavior;
752 thread_state_flavor_t new_flavor;
753 } __Request__thread_swap_exception_ports_t __attribute__((unused));
754#ifdef __MigPackStructs
755#pragma pack(pop)
756#endif
757
758#ifdef __MigPackStructs
759#pragma pack(push, 4)
760#endif
761 typedef struct {
762 mach_msg_header_t Head;
763 NDR_record_t NDR;
764 policy_t policy;
765 mach_msg_type_number_t baseCnt;
766 integer_t base[5];
767 boolean_t set_limit;
768 } __Request__thread_policy_t __attribute__((unused));
769#ifdef __MigPackStructs
770#pragma pack(pop)
771#endif
772
773#ifdef __MigPackStructs
774#pragma pack(push, 4)
775#endif
776 typedef struct {
777 mach_msg_header_t Head;
778 NDR_record_t NDR;
779 thread_policy_flavor_t flavor;
780 mach_msg_type_number_t policy_infoCnt;
781 integer_t policy_info[16];
782 } __Request__thread_policy_set_t __attribute__((unused));
783#ifdef __MigPackStructs
784#pragma pack(pop)
785#endif
786
787#ifdef __MigPackStructs
788#pragma pack(push, 4)
789#endif
790 typedef struct {
791 mach_msg_header_t Head;
792 NDR_record_t NDR;
793 thread_policy_flavor_t flavor;
794 mach_msg_type_number_t policy_infoCnt;
795 boolean_t get_default;
796 } __Request__thread_policy_get_t __attribute__((unused));
797#ifdef __MigPackStructs
798#pragma pack(pop)
799#endif
800
801#ifdef __MigPackStructs
802#pragma pack(push, 4)
803#endif
804 typedef struct {
805 mach_msg_header_t Head;
806 /* start of the kernel processed data */
807 mach_msg_body_t msgh_body;
808 mach_msg_port_descriptor_t reply;
809 /* end of the kernel processed data */
810 } __Request__thread_sample_t __attribute__((unused));
811#ifdef __MigPackStructs
812#pragma pack(pop)
813#endif
814
815#ifdef __MigPackStructs
816#pragma pack(push, 4)
817#endif
818 typedef struct {
819 mach_msg_header_t Head;
820 NDR_record_t NDR;
821 boolean_t trace_status;
822 } __Request__etap_trace_thread_t __attribute__((unused));
823#ifdef __MigPackStructs
824#pragma pack(pop)
825#endif
826
827#ifdef __MigPackStructs
828#pragma pack(push, 4)
829#endif
830 typedef struct {
831 mach_msg_header_t Head;
832 /* start of the kernel processed data */
833 mach_msg_body_t msgh_body;
834 mach_msg_port_descriptor_t new_set;
835 /* end of the kernel processed data */
836 } __Request__thread_assign_t __attribute__((unused));
837#ifdef __MigPackStructs
838#pragma pack(pop)
839#endif
840
841#ifdef __MigPackStructs
842#pragma pack(push, 4)
843#endif
844 typedef struct {
845 mach_msg_header_t Head;
846 } __Request__thread_assign_default_t __attribute__((unused));
847#ifdef __MigPackStructs
848#pragma pack(pop)
849#endif
850
851#ifdef __MigPackStructs
852#pragma pack(push, 4)
853#endif
854 typedef struct {
855 mach_msg_header_t Head;
856 } __Request__thread_get_assignment_t __attribute__((unused));
857#ifdef __MigPackStructs
858#pragma pack(pop)
859#endif
860
861#ifdef __MigPackStructs
862#pragma pack(push, 4)
863#endif
864 typedef struct {
865 mach_msg_header_t Head;
866 /* start of the kernel processed data */
867 mach_msg_body_t msgh_body;
868 mach_msg_port_descriptor_t pset;
869 /* end of the kernel processed data */
870 NDR_record_t NDR;
871 policy_t policy;
872 mach_msg_type_number_t baseCnt;
873 integer_t base[5];
874 mach_msg_type_number_t limitCnt;
875 integer_t limit[1];
876 } __Request__thread_set_policy_t __attribute__((unused));
877#ifdef __MigPackStructs
878#pragma pack(pop)
879#endif
880
881#ifdef __MigPackStructs
882#pragma pack(push, 4)
883#endif
884 typedef struct {
885 mach_msg_header_t Head;
886 NDR_record_t NDR;
887 mach_voucher_selector_t which;
888 } __Request__thread_get_mach_voucher_t __attribute__((unused));
889#ifdef __MigPackStructs
890#pragma pack(pop)
891#endif
892
893#ifdef __MigPackStructs
894#pragma pack(push, 4)
895#endif
896 typedef struct {
897 mach_msg_header_t Head;
898 /* start of the kernel processed data */
899 mach_msg_body_t msgh_body;
900 mach_msg_port_descriptor_t voucher;
901 /* end of the kernel processed data */
902 } __Request__thread_set_mach_voucher_t __attribute__((unused));
903#ifdef __MigPackStructs
904#pragma pack(pop)
905#endif
906
907#ifdef __MigPackStructs
908#pragma pack(push, 4)
909#endif
910 typedef struct {
911 mach_msg_header_t Head;
912 /* start of the kernel processed data */
913 mach_msg_body_t msgh_body;
914 mach_msg_port_descriptor_t new_voucher;
915 mach_msg_port_descriptor_t old_voucher;
916 /* end of the kernel processed data */
917 } __Request__thread_swap_mach_voucher_t __attribute__((unused));
918#ifdef __MigPackStructs
919#pragma pack(pop)
920#endif
921
922#ifdef __MigPackStructs
923#pragma pack(push, 4)
924#endif
925 typedef struct {
926 mach_msg_header_t Head;
927 NDR_record_t NDR;
928 int direction;
929 thread_state_flavor_t flavor;
930 mach_msg_type_number_t in_stateCnt;
931 natural_t in_state[1296];
932 mach_msg_type_number_t out_stateCnt;
933 } __Request__thread_convert_thread_state_t __attribute__((unused));
934#ifdef __MigPackStructs
935#pragma pack(pop)
936#endif
937
938#ifdef __MigPackStructs
939#pragma pack(push, 4)
940#endif
941 typedef struct {
942 mach_msg_header_t Head;
943 NDR_record_t NDR;
944 exception_mask_t exception_mask;
945 } __Request__thread_get_exception_ports_info_t __attribute__((unused));
946#ifdef __MigPackStructs
947#pragma pack(pop)
948#endif
949
950#ifdef __MigPackStructs
951#pragma pack(push, 4)
952#endif
953 typedef struct {
954 mach_msg_header_t Head;
955 /* start of the kernel processed data */
956 mach_msg_body_t msgh_body;
957 mach_msg_port_descriptor_t exc_port;
958 /* end of the kernel processed data */
959 NDR_record_t NDR;
960 exception_mask_t exc_mask;
961 exception_behavior_t behavior_mask;
962 thread_state_flavor_t flavor_mask;
963 } __Request__thread_adopt_exception_handler_t __attribute__((unused));
964#ifdef __MigPackStructs
965#pragma pack(pop)
966#endif
967
968#ifdef __MigPackStructs
969#pragma pack(push, 4)
970#endif
971 typedef struct {
972 mach_msg_header_t Head;
973 } __Request__thread_suspend2_t __attribute__((unused));
974#ifdef __MigPackStructs
975#pragma pack(pop)
976#endif
977
978#ifdef __MigPackStructs
979#pragma pack(push, 4)
980#endif
981 typedef struct {
982 mach_msg_header_t Head;
983 } __Request__thread_resume2_t __attribute__((unused));
984#ifdef __MigPackStructs
985#pragma pack(pop)
986#endif
987#endif /* !__Request__thread_act_subsystem__defined */
988
989/* union of all requests */
990
991#ifndef __RequestUnion__thread_act_subsystem__defined
992#define __RequestUnion__thread_act_subsystem__defined
993union __RequestUnion__thread_act_subsystem {
994 __Request__thread_terminate_t Request_thread_terminate;
995 __Request__act_get_state_t Request_act_get_state;
996 __Request__act_set_state_t Request_act_set_state;
997 __Request__thread_get_state_t Request_thread_get_state;
998 __Request__thread_set_state_t Request_thread_set_state;
999 __Request__thread_suspend_t Request_thread_suspend;
1000 __Request__thread_resume_t Request_thread_resume;
1001 __Request__thread_abort_t Request_thread_abort;
1002 __Request__thread_abort_safely_t Request_thread_abort_safely;
1003 __Request__thread_depress_abort_t Request_thread_depress_abort;
1004 __Request__thread_get_special_port_t Request_thread_get_special_port;
1005 __Request__thread_set_special_port_t Request_thread_set_special_port;
1006 __Request__thread_info_t Request_thread_info;
1007 __Request__thread_set_exception_ports_t Request_thread_set_exception_ports;
1008 __Request__thread_get_exception_ports_t Request_thread_get_exception_ports;
1009 __Request__thread_swap_exception_ports_t Request_thread_swap_exception_ports;
1010 __Request__thread_policy_t Request_thread_policy;
1011 __Request__thread_policy_set_t Request_thread_policy_set;
1012 __Request__thread_policy_get_t Request_thread_policy_get;
1013 __Request__thread_sample_t Request_thread_sample;
1014 __Request__etap_trace_thread_t Request_etap_trace_thread;
1015 __Request__thread_assign_t Request_thread_assign;
1016 __Request__thread_assign_default_t Request_thread_assign_default;
1017 __Request__thread_get_assignment_t Request_thread_get_assignment;
1018 __Request__thread_set_policy_t Request_thread_set_policy;
1019 __Request__thread_get_mach_voucher_t Request_thread_get_mach_voucher;
1020 __Request__thread_set_mach_voucher_t Request_thread_set_mach_voucher;
1021 __Request__thread_swap_mach_voucher_t Request_thread_swap_mach_voucher;
1022 __Request__thread_convert_thread_state_t Request_thread_convert_thread_state;
1023 __Request__thread_get_exception_ports_info_t Request_thread_get_exception_ports_info;
1024 __Request__thread_adopt_exception_handler_t Request_thread_adopt_exception_handler;
1025 __Request__thread_suspend2_t Request_thread_suspend2;
1026 __Request__thread_resume2_t Request_thread_resume2;
1027};
1028#endif /* !__RequestUnion__thread_act_subsystem__defined */
1029/* typedefs for all replies */
1030
1031#ifndef __Reply__thread_act_subsystem__defined
1032#define __Reply__thread_act_subsystem__defined
1033
1034#ifdef __MigPackStructs
1035#pragma pack(push, 4)
1036#endif
1037 typedef struct {
1038 mach_msg_header_t Head;
1039 NDR_record_t NDR;
1040 kern_return_t RetCode;
1041 } __Reply__thread_terminate_t __attribute__((unused));
1042#ifdef __MigPackStructs
1043#pragma pack(pop)
1044#endif
1045
1046#ifdef __MigPackStructs
1047#pragma pack(push, 4)
1048#endif
1049 typedef struct {
1050 mach_msg_header_t Head;
1051 NDR_record_t NDR;
1052 kern_return_t RetCode;
1053 mach_msg_type_number_t old_stateCnt;
1054 natural_t old_state[1296];
1055 } __Reply__act_get_state_t __attribute__((unused));
1056#ifdef __MigPackStructs
1057#pragma pack(pop)
1058#endif
1059
1060#ifdef __MigPackStructs
1061#pragma pack(push, 4)
1062#endif
1063 typedef struct {
1064 mach_msg_header_t Head;
1065 NDR_record_t NDR;
1066 kern_return_t RetCode;
1067 } __Reply__act_set_state_t __attribute__((unused));
1068#ifdef __MigPackStructs
1069#pragma pack(pop)
1070#endif
1071
1072#ifdef __MigPackStructs
1073#pragma pack(push, 4)
1074#endif
1075 typedef struct {
1076 mach_msg_header_t Head;
1077 NDR_record_t NDR;
1078 kern_return_t RetCode;
1079 mach_msg_type_number_t old_stateCnt;
1080 natural_t old_state[1296];
1081 } __Reply__thread_get_state_t __attribute__((unused));
1082#ifdef __MigPackStructs
1083#pragma pack(pop)
1084#endif
1085
1086#ifdef __MigPackStructs
1087#pragma pack(push, 4)
1088#endif
1089 typedef struct {
1090 mach_msg_header_t Head;
1091 NDR_record_t NDR;
1092 kern_return_t RetCode;
1093 } __Reply__thread_set_state_t __attribute__((unused));
1094#ifdef __MigPackStructs
1095#pragma pack(pop)
1096#endif
1097
1098#ifdef __MigPackStructs
1099#pragma pack(push, 4)
1100#endif
1101 typedef struct {
1102 mach_msg_header_t Head;
1103 NDR_record_t NDR;
1104 kern_return_t RetCode;
1105 } __Reply__thread_suspend_t __attribute__((unused));
1106#ifdef __MigPackStructs
1107#pragma pack(pop)
1108#endif
1109
1110#ifdef __MigPackStructs
1111#pragma pack(push, 4)
1112#endif
1113 typedef struct {
1114 mach_msg_header_t Head;
1115 NDR_record_t NDR;
1116 kern_return_t RetCode;
1117 } __Reply__thread_resume_t __attribute__((unused));
1118#ifdef __MigPackStructs
1119#pragma pack(pop)
1120#endif
1121
1122#ifdef __MigPackStructs
1123#pragma pack(push, 4)
1124#endif
1125 typedef struct {
1126 mach_msg_header_t Head;
1127 NDR_record_t NDR;
1128 kern_return_t RetCode;
1129 } __Reply__thread_abort_t __attribute__((unused));
1130#ifdef __MigPackStructs
1131#pragma pack(pop)
1132#endif
1133
1134#ifdef __MigPackStructs
1135#pragma pack(push, 4)
1136#endif
1137 typedef struct {
1138 mach_msg_header_t Head;
1139 NDR_record_t NDR;
1140 kern_return_t RetCode;
1141 } __Reply__thread_abort_safely_t __attribute__((unused));
1142#ifdef __MigPackStructs
1143#pragma pack(pop)
1144#endif
1145
1146#ifdef __MigPackStructs
1147#pragma pack(push, 4)
1148#endif
1149 typedef struct {
1150 mach_msg_header_t Head;
1151 NDR_record_t NDR;
1152 kern_return_t RetCode;
1153 } __Reply__thread_depress_abort_t __attribute__((unused));
1154#ifdef __MigPackStructs
1155#pragma pack(pop)
1156#endif
1157
1158#ifdef __MigPackStructs
1159#pragma pack(push, 4)
1160#endif
1161 typedef struct {
1162 mach_msg_header_t Head;
1163 /* start of the kernel processed data */
1164 mach_msg_body_t msgh_body;
1165 mach_msg_port_descriptor_t special_port;
1166 /* end of the kernel processed data */
1167 } __Reply__thread_get_special_port_t __attribute__((unused));
1168#ifdef __MigPackStructs
1169#pragma pack(pop)
1170#endif
1171
1172#ifdef __MigPackStructs
1173#pragma pack(push, 4)
1174#endif
1175 typedef struct {
1176 mach_msg_header_t Head;
1177 NDR_record_t NDR;
1178 kern_return_t RetCode;
1179 } __Reply__thread_set_special_port_t __attribute__((unused));
1180#ifdef __MigPackStructs
1181#pragma pack(pop)
1182#endif
1183
1184#ifdef __MigPackStructs
1185#pragma pack(push, 4)
1186#endif
1187 typedef struct {
1188 mach_msg_header_t Head;
1189 NDR_record_t NDR;
1190 kern_return_t RetCode;
1191 mach_msg_type_number_t thread_info_outCnt;
1192 integer_t thread_info_out[32];
1193 } __Reply__thread_info_t __attribute__((unused));
1194#ifdef __MigPackStructs
1195#pragma pack(pop)
1196#endif
1197
1198#ifdef __MigPackStructs
1199#pragma pack(push, 4)
1200#endif
1201 typedef struct {
1202 mach_msg_header_t Head;
1203 NDR_record_t NDR;
1204 kern_return_t RetCode;
1205 } __Reply__thread_set_exception_ports_t __attribute__((unused));
1206#ifdef __MigPackStructs
1207#pragma pack(pop)
1208#endif
1209
1210#ifdef __MigPackStructs
1211#pragma pack(push, 4)
1212#endif
1213 typedef struct {
1214 mach_msg_header_t Head;
1215 /* start of the kernel processed data */
1216 mach_msg_body_t msgh_body;
1217 mach_msg_port_descriptor_t old_handlers[32];
1218 /* end of the kernel processed data */
1219 NDR_record_t NDR;
1220 mach_msg_type_number_t masksCnt;
1221 exception_mask_t masks[32];
1222 exception_behavior_t old_behaviors[32];
1223 thread_state_flavor_t old_flavors[32];
1224 } __Reply__thread_get_exception_ports_t __attribute__((unused));
1225#ifdef __MigPackStructs
1226#pragma pack(pop)
1227#endif
1228
1229#ifdef __MigPackStructs
1230#pragma pack(push, 4)
1231#endif
1232 typedef struct {
1233 mach_msg_header_t Head;
1234 /* start of the kernel processed data */
1235 mach_msg_body_t msgh_body;
1236 mach_msg_port_descriptor_t old_handlers[32];
1237 /* end of the kernel processed data */
1238 NDR_record_t NDR;
1239 mach_msg_type_number_t masksCnt;
1240 exception_mask_t masks[32];
1241 exception_behavior_t old_behaviors[32];
1242 thread_state_flavor_t old_flavors[32];
1243 } __Reply__thread_swap_exception_ports_t __attribute__((unused));
1244#ifdef __MigPackStructs
1245#pragma pack(pop)
1246#endif
1247
1248#ifdef __MigPackStructs
1249#pragma pack(push, 4)
1250#endif
1251 typedef struct {
1252 mach_msg_header_t Head;
1253 NDR_record_t NDR;
1254 kern_return_t RetCode;
1255 } __Reply__thread_policy_t __attribute__((unused));
1256#ifdef __MigPackStructs
1257#pragma pack(pop)
1258#endif
1259
1260#ifdef __MigPackStructs
1261#pragma pack(push, 4)
1262#endif
1263 typedef struct {
1264 mach_msg_header_t Head;
1265 NDR_record_t NDR;
1266 kern_return_t RetCode;
1267 } __Reply__thread_policy_set_t __attribute__((unused));
1268#ifdef __MigPackStructs
1269#pragma pack(pop)
1270#endif
1271
1272#ifdef __MigPackStructs
1273#pragma pack(push, 4)
1274#endif
1275 typedef struct {
1276 mach_msg_header_t Head;
1277 NDR_record_t NDR;
1278 kern_return_t RetCode;
1279 mach_msg_type_number_t policy_infoCnt;
1280 integer_t policy_info[16];
1281 boolean_t get_default;
1282 } __Reply__thread_policy_get_t __attribute__((unused));
1283#ifdef __MigPackStructs
1284#pragma pack(pop)
1285#endif
1286
1287#ifdef __MigPackStructs
1288#pragma pack(push, 4)
1289#endif
1290 typedef struct {
1291 mach_msg_header_t Head;
1292 NDR_record_t NDR;
1293 kern_return_t RetCode;
1294 } __Reply__thread_sample_t __attribute__((unused));
1295#ifdef __MigPackStructs
1296#pragma pack(pop)
1297#endif
1298
1299#ifdef __MigPackStructs
1300#pragma pack(push, 4)
1301#endif
1302 typedef struct {
1303 mach_msg_header_t Head;
1304 NDR_record_t NDR;
1305 kern_return_t RetCode;
1306 } __Reply__etap_trace_thread_t __attribute__((unused));
1307#ifdef __MigPackStructs
1308#pragma pack(pop)
1309#endif
1310
1311#ifdef __MigPackStructs
1312#pragma pack(push, 4)
1313#endif
1314 typedef struct {
1315 mach_msg_header_t Head;
1316 NDR_record_t NDR;
1317 kern_return_t RetCode;
1318 } __Reply__thread_assign_t __attribute__((unused));
1319#ifdef __MigPackStructs
1320#pragma pack(pop)
1321#endif
1322
1323#ifdef __MigPackStructs
1324#pragma pack(push, 4)
1325#endif
1326 typedef struct {
1327 mach_msg_header_t Head;
1328 NDR_record_t NDR;
1329 kern_return_t RetCode;
1330 } __Reply__thread_assign_default_t __attribute__((unused));
1331#ifdef __MigPackStructs
1332#pragma pack(pop)
1333#endif
1334
1335#ifdef __MigPackStructs
1336#pragma pack(push, 4)
1337#endif
1338 typedef struct {
1339 mach_msg_header_t Head;
1340 /* start of the kernel processed data */
1341 mach_msg_body_t msgh_body;
1342 mach_msg_port_descriptor_t assigned_set;
1343 /* end of the kernel processed data */
1344 } __Reply__thread_get_assignment_t __attribute__((unused));
1345#ifdef __MigPackStructs
1346#pragma pack(pop)
1347#endif
1348
1349#ifdef __MigPackStructs
1350#pragma pack(push, 4)
1351#endif
1352 typedef struct {
1353 mach_msg_header_t Head;
1354 NDR_record_t NDR;
1355 kern_return_t RetCode;
1356 } __Reply__thread_set_policy_t __attribute__((unused));
1357#ifdef __MigPackStructs
1358#pragma pack(pop)
1359#endif
1360
1361#ifdef __MigPackStructs
1362#pragma pack(push, 4)
1363#endif
1364 typedef struct {
1365 mach_msg_header_t Head;
1366 /* start of the kernel processed data */
1367 mach_msg_body_t msgh_body;
1368 mach_msg_port_descriptor_t voucher;
1369 /* end of the kernel processed data */
1370 } __Reply__thread_get_mach_voucher_t __attribute__((unused));
1371#ifdef __MigPackStructs
1372#pragma pack(pop)
1373#endif
1374
1375#ifdef __MigPackStructs
1376#pragma pack(push, 4)
1377#endif
1378 typedef struct {
1379 mach_msg_header_t Head;
1380 NDR_record_t NDR;
1381 kern_return_t RetCode;
1382 } __Reply__thread_set_mach_voucher_t __attribute__((unused));
1383#ifdef __MigPackStructs
1384#pragma pack(pop)
1385#endif
1386
1387#ifdef __MigPackStructs
1388#pragma pack(push, 4)
1389#endif
1390 typedef struct {
1391 mach_msg_header_t Head;
1392 /* start of the kernel processed data */
1393 mach_msg_body_t msgh_body;
1394 mach_msg_port_descriptor_t old_voucher;
1395 /* end of the kernel processed data */
1396 } __Reply__thread_swap_mach_voucher_t __attribute__((unused));
1397#ifdef __MigPackStructs
1398#pragma pack(pop)
1399#endif
1400
1401#ifdef __MigPackStructs
1402#pragma pack(push, 4)
1403#endif
1404 typedef struct {
1405 mach_msg_header_t Head;
1406 NDR_record_t NDR;
1407 kern_return_t RetCode;
1408 mach_msg_type_number_t out_stateCnt;
1409 natural_t out_state[1296];
1410 } __Reply__thread_convert_thread_state_t __attribute__((unused));
1411#ifdef __MigPackStructs
1412#pragma pack(pop)
1413#endif
1414
1415#ifdef __MigPackStructs
1416#pragma pack(push, 4)
1417#endif
1418 typedef struct {
1419 mach_msg_header_t Head;
1420 NDR_record_t NDR;
1421 kern_return_t RetCode;
1422 mach_msg_type_number_t masksCnt;
1423 exception_mask_t masks[32];
1424 exception_handler_info_t old_handlers_info[32];
1425 exception_behavior_t old_behaviors[32];
1426 thread_state_flavor_t old_flavors[32];
1427 } __Reply__thread_get_exception_ports_info_t __attribute__((unused));
1428#ifdef __MigPackStructs
1429#pragma pack(pop)
1430#endif
1431
1432#ifdef __MigPackStructs
1433#pragma pack(push, 4)
1434#endif
1435 typedef struct {
1436 mach_msg_header_t Head;
1437 NDR_record_t NDR;
1438 kern_return_t RetCode;
1439 } __Reply__thread_adopt_exception_handler_t __attribute__((unused));
1440#ifdef __MigPackStructs
1441#pragma pack(pop)
1442#endif
1443
1444#ifdef __MigPackStructs
1445#pragma pack(push, 4)
1446#endif
1447 typedef struct {
1448 mach_msg_header_t Head;
1449 /* start of the kernel processed data */
1450 mach_msg_body_t msgh_body;
1451 mach_msg_port_descriptor_t suspend_token;
1452 /* end of the kernel processed data */
1453 } __Reply__thread_suspend2_t __attribute__((unused));
1454#ifdef __MigPackStructs
1455#pragma pack(pop)
1456#endif
1457
1458#ifdef __MigPackStructs
1459#pragma pack(push, 4)
1460#endif
1461 typedef struct {
1462 mach_msg_header_t Head;
1463 NDR_record_t NDR;
1464 kern_return_t RetCode;
1465 } __Reply__thread_resume2_t __attribute__((unused));
1466#ifdef __MigPackStructs
1467#pragma pack(pop)
1468#endif
1469#endif /* !__Reply__thread_act_subsystem__defined */
1470
1471/* union of all replies */
1472
1473#ifndef __ReplyUnion__thread_act_subsystem__defined
1474#define __ReplyUnion__thread_act_subsystem__defined
1475union __ReplyUnion__thread_act_subsystem {
1476 __Reply__thread_terminate_t Reply_thread_terminate;
1477 __Reply__act_get_state_t Reply_act_get_state;
1478 __Reply__act_set_state_t Reply_act_set_state;
1479 __Reply__thread_get_state_t Reply_thread_get_state;
1480 __Reply__thread_set_state_t Reply_thread_set_state;
1481 __Reply__thread_suspend_t Reply_thread_suspend;
1482 __Reply__thread_resume_t Reply_thread_resume;
1483 __Reply__thread_abort_t Reply_thread_abort;
1484 __Reply__thread_abort_safely_t Reply_thread_abort_safely;
1485 __Reply__thread_depress_abort_t Reply_thread_depress_abort;
1486 __Reply__thread_get_special_port_t Reply_thread_get_special_port;
1487 __Reply__thread_set_special_port_t Reply_thread_set_special_port;
1488 __Reply__thread_info_t Reply_thread_info;
1489 __Reply__thread_set_exception_ports_t Reply_thread_set_exception_ports;
1490 __Reply__thread_get_exception_ports_t Reply_thread_get_exception_ports;
1491 __Reply__thread_swap_exception_ports_t Reply_thread_swap_exception_ports;
1492 __Reply__thread_policy_t Reply_thread_policy;
1493 __Reply__thread_policy_set_t Reply_thread_policy_set;
1494 __Reply__thread_policy_get_t Reply_thread_policy_get;
1495 __Reply__thread_sample_t Reply_thread_sample;
1496 __Reply__etap_trace_thread_t Reply_etap_trace_thread;
1497 __Reply__thread_assign_t Reply_thread_assign;
1498 __Reply__thread_assign_default_t Reply_thread_assign_default;
1499 __Reply__thread_get_assignment_t Reply_thread_get_assignment;
1500 __Reply__thread_set_policy_t Reply_thread_set_policy;
1501 __Reply__thread_get_mach_voucher_t Reply_thread_get_mach_voucher;
1502 __Reply__thread_set_mach_voucher_t Reply_thread_set_mach_voucher;
1503 __Reply__thread_swap_mach_voucher_t Reply_thread_swap_mach_voucher;
1504 __Reply__thread_convert_thread_state_t Reply_thread_convert_thread_state;
1505 __Reply__thread_get_exception_ports_info_t Reply_thread_get_exception_ports_info;
1506 __Reply__thread_adopt_exception_handler_t Reply_thread_adopt_exception_handler;
1507 __Reply__thread_suspend2_t Reply_thread_suspend2;
1508 __Reply__thread_resume2_t Reply_thread_resume2;
1509};
1510#endif /* !__RequestUnion__thread_act_subsystem__defined */
1511
1512#ifndef subsystem_to_name_map_thread_act
1513#define subsystem_to_name_map_thread_act \
1514 { "thread_terminate", 3600 },\
1515 { "act_get_state", 3601 },\
1516 { "act_set_state", 3602 },\
1517 { "thread_get_state", 3603 },\
1518 { "thread_set_state", 3604 },\
1519 { "thread_suspend", 3605 },\
1520 { "thread_resume", 3606 },\
1521 { "thread_abort", 3607 },\
1522 { "thread_abort_safely", 3608 },\
1523 { "thread_depress_abort", 3609 },\
1524 { "thread_get_special_port", 3610 },\
1525 { "thread_set_special_port", 3611 },\
1526 { "thread_info", 3612 },\
1527 { "thread_set_exception_ports", 3613 },\
1528 { "thread_get_exception_ports", 3614 },\
1529 { "thread_swap_exception_ports", 3615 },\
1530 { "thread_policy", 3616 },\
1531 { "thread_policy_set", 3617 },\
1532 { "thread_policy_get", 3618 },\
1533 { "thread_sample", 3619 },\
1534 { "etap_trace_thread", 3620 },\
1535 { "thread_assign", 3621 },\
1536 { "thread_assign_default", 3622 },\
1537 { "thread_get_assignment", 3623 },\
1538 { "thread_set_policy", 3624 },\
1539 { "thread_get_mach_voucher", 3625 },\
1540 { "thread_set_mach_voucher", 3626 },\
1541 { "thread_swap_mach_voucher", 3627 },\
1542 { "thread_convert_thread_state", 3628 },\
1543 { "thread_get_exception_ports_info", 3630 },\
1544 { "thread_adopt_exception_handler", 3631 },\
1545 { "thread_suspend2", 3632 },\
1546 { "thread_resume2", 3633 }
1547#endif
1548
1549#ifdef __AfterMigUserHeader
1550__AfterMigUserHeader
1551#endif /* __AfterMigUserHeader */
1552
1553#endif /* _thread_act_user_ */