1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
|
#ifndef _mach_host_server_
#define _mach_host_server_
/* Module mach_host */
#include <mach/kern_return.h>
#include <mach/port.h>
#include <mach/message.h>
#include <mach/std_types.h>
#include <mach/mach_types.h>
/* Routine host_processors */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_processors
#if defined(LINTLIBRARY)
(host_priv, processor_list, processor_listCnt)
mach_port_t host_priv;
processor_array_t *processor_list;
mach_msg_type_number_t *processor_listCnt;
{ return S_host_processors(host_priv, processor_list, processor_listCnt); }
#else
(
mach_port_t host_priv,
processor_array_t *processor_list,
mach_msg_type_number_t *processor_listCnt
);
#endif
/* Routine yyy_host_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_yyy_host_info
#if defined(LINTLIBRARY)
(host, flavor, host_info_out, host_info_outCnt)
mach_port_t host;
int flavor;
host_info_t host_info_out;
mach_msg_type_number_t *host_info_outCnt;
{ return S_yyy_host_info(host, flavor, host_info_out, host_info_outCnt); }
#else
(
mach_port_t host,
int flavor,
host_info_t host_info_out,
mach_msg_type_number_t *host_info_outCnt
);
#endif
/* Routine yyy_processor_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_yyy_processor_info
#if defined(LINTLIBRARY)
(processor, flavor, host, processor_info_out, processor_info_outCnt)
mach_port_t processor;
int flavor;
mach_port_t *host;
processor_info_t processor_info_out;
mach_msg_type_number_t *processor_info_outCnt;
{ return S_yyy_processor_info(processor, flavor, host, processor_info_out, processor_info_outCnt); }
#else
(
mach_port_t processor,
int flavor,
mach_port_t *host,
processor_info_t processor_info_out,
mach_msg_type_number_t *processor_info_outCnt
);
#endif
/* Routine processor_start */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_start
#if defined(LINTLIBRARY)
(processor)
mach_port_t processor;
{ return S_processor_start(processor); }
#else
(
mach_port_t processor
);
#endif
/* Routine processor_exit */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_exit
#if defined(LINTLIBRARY)
(processor)
mach_port_t processor;
{ return S_processor_exit(processor); }
#else
(
mach_port_t processor
);
#endif
/* Routine yyy_processor_control */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_yyy_processor_control
#if defined(LINTLIBRARY)
(processor, processor_cmd, processor_cmdCnt)
mach_port_t processor;
processor_info_t processor_cmd;
mach_msg_type_number_t processor_cmdCnt;
{ return S_yyy_processor_control(processor, processor_cmd, processor_cmdCnt); }
#else
(
mach_port_t processor,
processor_info_t processor_cmd,
mach_msg_type_number_t processor_cmdCnt
);
#endif
/* Routine processor_set_default */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_default
#if defined(LINTLIBRARY)
(host, default_set)
mach_port_t host;
mach_port_t *default_set;
{ return S_processor_set_default(host, default_set); }
#else
(
mach_port_t host,
mach_port_t *default_set
);
#endif
/* Routine xxx_processor_set_default_priv */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_xxx_processor_set_default_priv
#if defined(LINTLIBRARY)
(host, default_set)
mach_port_t host;
mach_port_t *default_set;
{ return S_xxx_processor_set_default_priv(host, default_set); }
#else
(
mach_port_t host,
mach_port_t *default_set
);
#endif
/* Routine processor_set_create */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_create
#if defined(LINTLIBRARY)
(host, new_set, new_name)
mach_port_t host;
mach_port_t *new_set;
mach_port_t *new_name;
{ return S_processor_set_create(host, new_set, new_name); }
#else
(
mach_port_t host,
mach_port_t *new_set,
mach_port_t *new_name
);
#endif
/* Routine processor_set_destroy */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_destroy
#if defined(LINTLIBRARY)
(set)
mach_port_t set;
{ return S_processor_set_destroy(set); }
#else
(
mach_port_t set
);
#endif
/* Routine yyy_processor_set_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_yyy_processor_set_info
#if defined(LINTLIBRARY)
(set_name, flavor, host, info_out, info_outCnt)
mach_port_t set_name;
int flavor;
mach_port_t *host;
processor_set_info_t info_out;
mach_msg_type_number_t *info_outCnt;
{ return S_yyy_processor_set_info(set_name, flavor, host, info_out, info_outCnt); }
#else
(
mach_port_t set_name,
int flavor,
mach_port_t *host,
processor_set_info_t info_out,
mach_msg_type_number_t *info_outCnt
);
#endif
/* Routine processor_assign */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_assign
#if defined(LINTLIBRARY)
(processor, new_set, wait)
mach_port_t processor;
mach_port_t new_set;
boolean_t wait;
{ return S_processor_assign(processor, new_set, wait); }
#else
(
mach_port_t processor,
mach_port_t new_set,
boolean_t wait
);
#endif
/* Routine processor_get_assignment */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_get_assignment
#if defined(LINTLIBRARY)
(processor, assigned_set)
mach_port_t processor;
mach_port_t *assigned_set;
{ return S_processor_get_assignment(processor, assigned_set); }
#else
(
mach_port_t processor,
mach_port_t *assigned_set
);
#endif
/* Routine thread_assign */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_assign
#if defined(LINTLIBRARY)
(thread, new_set)
mach_port_t thread;
mach_port_t new_set;
{ return S_thread_assign(thread, new_set); }
#else
(
mach_port_t thread,
mach_port_t new_set
);
#endif
/* Routine thread_assign_default */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_assign_default
#if defined(LINTLIBRARY)
(thread)
mach_port_t thread;
{ return S_thread_assign_default(thread); }
#else
(
mach_port_t thread
);
#endif
/* Routine thread_get_assignment */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_get_assignment
#if defined(LINTLIBRARY)
(thread, assigned_set)
mach_port_t thread;
mach_port_t *assigned_set;
{ return S_thread_get_assignment(thread, assigned_set); }
#else
(
mach_port_t thread,
mach_port_t *assigned_set
);
#endif
/* Routine task_assign */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_task_assign
#if defined(LINTLIBRARY)
(task, new_set, assign_threads)
mach_port_t task;
mach_port_t new_set;
boolean_t assign_threads;
{ return S_task_assign(task, new_set, assign_threads); }
#else
(
mach_port_t task,
mach_port_t new_set,
boolean_t assign_threads
);
#endif
/* Routine task_assign_default */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_task_assign_default
#if defined(LINTLIBRARY)
(task, assign_threads)
mach_port_t task;
boolean_t assign_threads;
{ return S_task_assign_default(task, assign_threads); }
#else
(
mach_port_t task,
boolean_t assign_threads
);
#endif
/* Routine task_get_assignment */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_task_get_assignment
#if defined(LINTLIBRARY)
(task, assigned_set)
mach_port_t task;
mach_port_t *assigned_set;
{ return S_task_get_assignment(task, assigned_set); }
#else
(
mach_port_t task,
mach_port_t *assigned_set
);
#endif
/* Routine host_kernel_version */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_kernel_version
#if defined(LINTLIBRARY)
(host, kernel_version)
mach_port_t host;
kernel_version_t kernel_version;
{ return S_host_kernel_version(host, kernel_version); }
#else
(
mach_port_t host,
kernel_version_t kernel_version
);
#endif
/* Routine thread_priority */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_priority
#if defined(LINTLIBRARY)
(thread, priority, set_max)
mach_port_t thread;
int priority;
boolean_t set_max;
{ return S_thread_priority(thread, priority, set_max); }
#else
(
mach_port_t thread,
int priority,
boolean_t set_max
);
#endif
/* Routine thread_max_priority */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_max_priority
#if defined(LINTLIBRARY)
(thread, processor_set, max_priority)
mach_port_t thread;
mach_port_t processor_set;
int max_priority;
{ return S_thread_max_priority(thread, processor_set, max_priority); }
#else
(
mach_port_t thread,
mach_port_t processor_set,
int max_priority
);
#endif
/* Routine task_priority */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_task_priority
#if defined(LINTLIBRARY)
(task, priority, change_threads)
mach_port_t task;
int priority;
boolean_t change_threads;
{ return S_task_priority(task, priority, change_threads); }
#else
(
mach_port_t task,
int priority,
boolean_t change_threads
);
#endif
/* Routine processor_set_max_priority */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_max_priority
#if defined(LINTLIBRARY)
(processor_set, max_priority, change_threads)
mach_port_t processor_set;
int max_priority;
boolean_t change_threads;
{ return S_processor_set_max_priority(processor_set, max_priority, change_threads); }
#else
(
mach_port_t processor_set,
int max_priority,
boolean_t change_threads
);
#endif
/* Routine thread_policy */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_policy
#if defined(LINTLIBRARY)
(thread, policy, data)
mach_port_t thread;
int policy;
int data;
{ return S_thread_policy(thread, policy, data); }
#else
(
mach_port_t thread,
int policy,
int data
);
#endif
/* Routine processor_set_policy_enable */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_policy_enable
#if defined(LINTLIBRARY)
(processor_set, policy)
mach_port_t processor_set;
int policy;
{ return S_processor_set_policy_enable(processor_set, policy); }
#else
(
mach_port_t processor_set,
int policy
);
#endif
/* Routine processor_set_policy_disable */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_policy_disable
#if defined(LINTLIBRARY)
(processor_set, policy, change_threads)
mach_port_t processor_set;
int policy;
boolean_t change_threads;
{ return S_processor_set_policy_disable(processor_set, policy, change_threads); }
#else
(
mach_port_t processor_set,
int policy,
boolean_t change_threads
);
#endif
/* Routine processor_set_tasks */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_tasks
#if defined(LINTLIBRARY)
(processor_set, task_list, task_listCnt)
mach_port_t processor_set;
task_array_t *task_list;
mach_msg_type_number_t *task_listCnt;
{ return S_processor_set_tasks(processor_set, task_list, task_listCnt); }
#else
(
mach_port_t processor_set,
task_array_t *task_list,
mach_msg_type_number_t *task_listCnt
);
#endif
/* Routine processor_set_threads */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_threads
#if defined(LINTLIBRARY)
(processor_set, thread_list, thread_listCnt)
mach_port_t processor_set;
thread_array_t *thread_list;
mach_msg_type_number_t *thread_listCnt;
{ return S_processor_set_threads(processor_set, thread_list, thread_listCnt); }
#else
(
mach_port_t processor_set,
thread_array_t *thread_list,
mach_msg_type_number_t *thread_listCnt
);
#endif
/* Routine host_processor_sets */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_processor_sets
#if defined(LINTLIBRARY)
(host, processor_sets, processor_setsCnt)
mach_port_t host;
processor_set_name_array_t *processor_sets;
mach_msg_type_number_t *processor_setsCnt;
{ return S_host_processor_sets(host, processor_sets, processor_setsCnt); }
#else
(
mach_port_t host,
processor_set_name_array_t *processor_sets,
mach_msg_type_number_t *processor_setsCnt
);
#endif
/* Routine host_processor_set_priv */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_processor_set_priv
#if defined(LINTLIBRARY)
(host_priv, set_name, set, setPoly)
mach_port_t host_priv;
mach_port_t set_name;
mach_port_t *set;
mach_msg_type_name_t *setPoly;
{ return S_host_processor_set_priv(host_priv, set_name, set, setPoly); }
#else
(
mach_port_t host_priv,
mach_port_t set_name,
mach_port_t *set,
mach_msg_type_name_t *setPoly
);
#endif
/* Routine thread_depress_abort */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_depress_abort
#if defined(LINTLIBRARY)
(thread)
mach_port_t thread;
{ return S_thread_depress_abort(thread); }
#else
(
mach_port_t thread
);
#endif
/* Routine host_set_time */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_set_time
#if defined(LINTLIBRARY)
(host_priv, new_time)
mach_port_t host_priv;
time_value_t new_time;
{ return S_host_set_time(host_priv, new_time); }
#else
(
mach_port_t host_priv,
time_value_t new_time
);
#endif
/* Routine host_adjust_time */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_adjust_time
#if defined(LINTLIBRARY)
(host_priv, new_adjustment, old_adjustment)
mach_port_t host_priv;
time_value_t new_adjustment;
time_value_t *old_adjustment;
{ return S_host_adjust_time(host_priv, new_adjustment, old_adjustment); }
#else
(
mach_port_t host_priv,
time_value_t new_adjustment,
time_value_t *old_adjustment
);
#endif
/* Routine host_get_time */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_get_time
#if defined(LINTLIBRARY)
(host, current_time)
mach_port_t host;
time_value_t *current_time;
{ return S_host_get_time(host, current_time); }
#else
(
mach_port_t host,
time_value_t *current_time
);
#endif
/* Routine host_reboot */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_reboot
#if defined(LINTLIBRARY)
(host_priv, options)
mach_port_t host_priv;
int options;
{ return S_host_reboot(host_priv, options); }
#else
(
mach_port_t host_priv,
int options
);
#endif
/* Routine vm_wire */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_vm_wire
#if defined(LINTLIBRARY)
(host_priv, task, address, size, access)
mach_port_t host_priv;
mach_port_t task;
vm_address_t address;
vm_size_t size;
vm_prot_t access;
{ return S_vm_wire(host_priv, task, address, size, access); }
#else
(
mach_port_t host_priv,
mach_port_t task,
vm_address_t address,
vm_size_t size,
vm_prot_t access
);
#endif
/* Routine thread_wire */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_thread_wire
#if defined(LINTLIBRARY)
(host_priv, thread, wired)
mach_port_t host_priv;
mach_port_t thread;
boolean_t wired;
{ return S_thread_wire(host_priv, thread, wired); }
#else
(
mach_port_t host_priv,
mach_port_t thread,
boolean_t wired
);
#endif
/* Routine host_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_info
#if defined(LINTLIBRARY)
(host, flavor, host_info_out, host_info_outCnt)
mach_port_t host;
int flavor;
host_info_t host_info_out;
mach_msg_type_number_t *host_info_outCnt;
{ return S_host_info(host, flavor, host_info_out, host_info_outCnt); }
#else
(
mach_port_t host,
int flavor,
host_info_t host_info_out,
mach_msg_type_number_t *host_info_outCnt
);
#endif
/* Routine processor_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_info
#if defined(LINTLIBRARY)
(processor, flavor, host, processor_info_out, processor_info_outCnt)
mach_port_t processor;
int flavor;
mach_port_t *host;
processor_info_t processor_info_out;
mach_msg_type_number_t *processor_info_outCnt;
{ return S_processor_info(processor, flavor, host, processor_info_out, processor_info_outCnt); }
#else
(
mach_port_t processor,
int flavor,
mach_port_t *host,
processor_info_t processor_info_out,
mach_msg_type_number_t *processor_info_outCnt
);
#endif
/* Routine processor_set_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_set_info
#if defined(LINTLIBRARY)
(set_name, flavor, host, info_out, info_outCnt)
mach_port_t set_name;
int flavor;
mach_port_t *host;
processor_set_info_t info_out;
mach_msg_type_number_t *info_outCnt;
{ return S_processor_set_info(set_name, flavor, host, info_out, info_outCnt); }
#else
(
mach_port_t set_name,
int flavor,
mach_port_t *host,
processor_set_info_t info_out,
mach_msg_type_number_t *info_outCnt
);
#endif
/* Routine processor_control */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_processor_control
#if defined(LINTLIBRARY)
(processor, processor_cmd, processor_cmdCnt)
mach_port_t processor;
processor_info_t processor_cmd;
mach_msg_type_number_t processor_cmdCnt;
{ return S_processor_control(processor, processor_cmd, processor_cmdCnt); }
#else
(
mach_port_t processor,
processor_info_t processor_cmd,
mach_msg_type_number_t processor_cmdCnt
);
#endif
/* Routine host_get_boot_info */
#ifdef mig_external
mig_external
#else
extern
#endif
kern_return_t S_host_get_boot_info
#if defined(LINTLIBRARY)
(host_priv, boot_info)
mach_port_t host_priv;
kernel_boot_info_t boot_info;
{ return S_host_get_boot_info(host_priv, boot_info); }
#else
(
mach_port_t host_priv,
kernel_boot_info_t boot_info
);
#endif
#endif /* not defined(_mach_host_server_) */
|