]> git.saurik.com Git - apple/xnu.git/blame_incremental - config/MASTER
xnu-4570.31.3.tar.gz
[apple/xnu.git] / config / MASTER
... / ...
CommitLineData
1#
2# Mach Operating System
3# Copyright (c) 1986 Carnegie-Mellon University
4# Copyright 2001-2014 Apple Inc.
5#
6# All rights reserved. The CMU software License Agreement
7# specifies the terms and conditions for use and redistribution.
8#
9#######################################################################
10#
11# Master machine independent configuration file.
12#
13# Specific configuration files are created based on this and
14# the machine specific master file using the doconf script.
15#
16# Any changes to the master configuration files will affect all
17# other configuration files based upon it.
18#
19#######################################################################
20#
21# To build a configuration, execute "doconf <configuration>."
22# Configurations are specified in the "Configurations:" section
23# of the MASTER and MASTER.* files as follows:
24#
25# <configuration> = [ <attribute0> <attribute1> ... <attributeN> ]
26#
27# Lines in the MASTER and MASTER.* files are selected based on
28# the attribute selector list, found in a comment at the end of
29# the line. This is a list of attributes separated by commas.
30# The "!" operator selects the line if none of the attributes are
31# specified.
32#
33# For example:
34#
35# <foo,bar> selects a line if "foo" or "bar" are specified.
36# <!foo,bar> selects a line if neither "foo" nor "bar" is
37# specified.
38#
39# Lines with no attributes specified are selected for all
40# configurations.
41#
42#######################################################################
43#
44# SYSTEM SIZE CONFIGURATION (select exactly one)
45#
46# xlarge = extra large scale system configuration
47# large = large scale system configuration
48# medium = medium scale system configuration
49# small = small scale system configuration
50# xsmall = extra small scale system configuration
51# bsmall = special extra small scale system configuration
52#
53#######################################################################
54#
55
56options INET # # <inet>
57options HW_AST # Hardware ast support # <hw_ast>
58options HW_FOOTPRINT # Cache footprint support # <hw_foot>
59
60options MACH # Standard Mach features # <mach>
61options MACH_COMPAT # Vendor syscall compatibility # <mach>
62options MACH_FASTLINK # Fast symbolic links
63options MACH_HOST # Mach host (resource alloc.) # <host>
64options MACH_IPC_COMPAT # Enable old IPC interface # <ipc_compat>
65options MACH_IPC_TEST # Testing code/printfs # <ipc_test>
66options MACH_FLIPC # Fast-Local IPC # <mach_flipc>
67options MACH_NP # Mach IPC support # <np>
68options MACH_NBC # No buffer cache # <nbc>
69options MACH_NET # Fast network access # <mach_net>
70options MACH_XP # external pager support # <xp>
71options NO_DIRECT_RPC # for untyped mig servers #
72options LOOP # loopback support # <loop>
73options VLAN # # <vlan>
74options BOND # # <bond>
75options IF_FAKE # # <if_fake>
76options AH_ALL_CRYPTO # AH all crypto algs # <ah_all_crypto>
77options IPCOMP_ZLIB # IP compression using zlib # <ipcomp_zlib>
78options PF # Packet Filter # <pf>
79options PF_ECN # PF use ECN marking # <pf_ecn>
80options PFLOG # PF log interface # <pflog>
81options MEASURE_BW # interface bandwidth measurement # <measure_bw>
82options DUMMYNET # dummynet support # <dummynet>
83options TRAFFIC_MGT # traffic management support # <traffic_mgt>
84options MULTICAST # Internet Protocol Class-D $
85options TCPDEBUG # TCP debug # <tcpdebug>
86options TCP_DROP_SYNFIN # Drop TCP packets with SYN+FIN set # <tcpdrop_synfin>
87options ICMP_BANDLIM # ICMP bandwidth limiting sysctl
88options IFNET_INPUT_SANITY_CHK # allow dlil/ifnet input sanity check # <ifnet_input_chk>
89options MULTIPATH # Multipath domain # <multipath>
90options MPTCP # Multipath TCP # <mptcp>
91options SYSV_SEM # SVID semaphores # <sysv_sem>
92options SYSV_MSG # SVID messages # <sysv_msg>
93options SYSV_SHM # SVID shared mem # <sysv_shm>
94options PSYNCH # pthread synch # <psynch>
95options FLOW_DIVERT # <flow_divert>
96options NECP # <necp>
97options CONTENT_FILTER # # <content_filter>
98options PACKET_MANGLER # # <packet_mangler>
99
100# secure_kernel - secure kernel from user programs
101options SECURE_KERNEL # <secure_kernel>
102
103options OLD_SEMWAIT_SIGNAL # old semwait_signal handler
104
105#
106# 4.4 general kernel
107#
108options SOCKETS # socket support # <inet, inet6>
109options DIAGNOSTIC # diagnostics # <diagnostic>
110options GPROF # build profiling # <profile>
111options PROFILE # kernel profiling # <profile>
112options SENDFILE # sendfile # <sendfile>
113options NETWORKING # networking layer # <inet, inet6>
114options CONFIG_FSE # file system events # <config_fse>
115options CONFIG_IMAGEBOOT # local image boot # <config_imageboot>
116options CONFIG_MBUF_JUMBO # jumbo cluster pool # <config_mbuf_jumbo>
117
118options CONFIG_WORKQUEUE # <config_workqueue>
119
120#
121# 4.4 filesystems
122#
123options MOCKFS # Boot from an executable # <mockfs>
124options FIFO # fifo support # <fifo>
125options FDESC # fdesc_fs support # <fdesc>
126options DEVFS # devfs support # <devfs>
127options ROUTEFS # routefs support # <routefs>
128options NULLFS # nullfs support # <nullfs>
129options FS_COMPRESSION # fs compression # <fs_compression>
130options CONFIG_DEV_KMEM # /dev/kmem device for reading KVA # <config_dev_kmem>
131
132#
133# file system features
134#
135options QUOTA # file system quotas # <quota>
136options NAMEDSTREAMS # named stream vnop support # <namedstreams>
137options CONFIG_APPLEDOUBLE # apple double support # <config_appledouble>
138options CONFIG_VOLFS # volfs path support (legacy) # <config_volfs>
139options CONFIG_IMGSRC_ACCESS # source of imageboot dmg # <config_imgsrc_access>
140options CONFIG_TRIGGERS # trigger vnodes # <config_triggers>
141options CONFIG_EXT_RESOLVER # e.g. memberd # <config_ext_resolver>
142options CONFIG_SEARCHFS # searchfs syscall support # <config_searchfs>
143options CONFIG_MNT_SUID # allow suid binaries # <config_mnt_suid>
144
145#
146# NFS support
147#
148options NFSCLIENT # Be an NFS client # <nfsclient>
149options NFSSERVER # Be an NFS server # <nfsserver>
150
151#
152# Machine Independent Apple Features
153#
154profile # build a profiling kernel # <profile>
155
156#
157# IPv6 Support
158#
159options "INET6" # kernel IPv6 Support # <inet6>
160options IPV6SEND # Secure Neighbor Discovery # <ipv6send>
161options IPSEC # IP security # <ipsec>
162options IPSEC_ESP # IP security # <ipsec>
163options "IPV6FIREWALL" # IPv6 Firewall Feature # <ipv6firewall>
164options "IPV6FIREWALL_DEFAULT_TO_ACCEPT" #IPv6 Firewall Feature # <ipv6firewall>
165#options "IPV6FIREWALL_VERBOSE" #IPv6 Firewall Feature # <ipv6firewall>
166
167pseudo-device gif 1 # <gif>
168pseudo-device dummy 2 # <dummy>
169pseudo-device stf 1 # <stf>
170
171options CRYPTO # <ipsec,crypto>
172options CRYPTO_SHA2 # <crypto_sha2>
173options ENCRYPTED_SWAP # <encrypted_swap>
174
175options ZLIB # inflate/deflate support # <zlib>
176
177options IF_BRIDGE # <if_bridge>
178
179#
180# configurable kernel event related resources
181#
182options CONFIG_KN_HASHSIZE=64 # <medium,large,xlarge>
183options CONFIG_KN_HASHSIZE=48 # <small,xsmall>
184options CONFIG_KN_HASHSIZE=20 # <bsmall>
185
186#
187# configurable vfs related resources
188# CONFIG_VNODES - used to pre allocate vnode related resources
189# CONFIG_NC_HASH - name cache hash table allocation
190# CONFIG_VFS_NAMES - name strings
191#
192# 263168 magic number for medium CONFIG_VNODES is based on memory
193# Number vnodes is (memsize/64k) + 1024
194# This is the calculation that is used by launchd in tiger
195# we are clipping the max based on 16G
196# ie ((16*1024*1024*1024)/(64 *1024)) + 1024 = 263168;
197
198options CONFIG_VNODES=263168 # <large,xlarge>
199options CONFIG_VNODES=263168 # <medium>
200options CONFIG_VNODES=10240 # <small>
201options CONFIG_VNODES=750 # <bsmall>
202
203options CONFIG_NC_HASH=5120 # <large,xlarge>
204options CONFIG_NC_HASH=4096 # <medium>
205options CONFIG_NC_HASH=2048 # <small,xsmall>
206options CONFIG_NC_HASH=1024 # <bsmall>
207
208options CONFIG_VFS_NAMES=5120 # <large,xlarge>
209options CONFIG_VFS_NAMES=4096 # <medium>
210options CONFIG_VFS_NAMES=3072 # <small,xsmall>
211options CONFIG_VFS_NAMES=2048 # <bsmall>
212
213options CONFIG_MAX_CLUSTERS=8 # <xlarge,large,medium>
214options CONFIG_MAX_CLUSTERS=4 # <small,xsmall,bsmall>
215
216#
217# configurable options for minumum number of buffers for kernel memory
218#
219options CONFIG_MIN_NBUF=256 # <medium,large,xlarge>
220options CONFIG_MIN_NBUF=128 # <small>
221options CONFIG_MIN_NBUF=80 # <xsmall>
222options CONFIG_MIN_NBUF=64 # <bsmall>
223
224options CONFIG_MIN_NIOBUF=128 # <medium,large,xlarge>
225options CONFIG_MIN_NIOBUF=64 # <xsmall,small>
226options CONFIG_MIN_NIOBUF=32 # <bsmall>
227
228#
229# set maximum space used for packet buffers
230#
231options CONFIG_NMBCLUSTERS="((1024 * 1024) / MCLBYTES)" # <large,xlarge>
232options CONFIG_NMBCLUSTERS="((1024 * 512) / MCLBYTES)" # <medium>
233options CONFIG_NMBCLUSTERS="((1024 * 256) / MCLBYTES)" # <bsmall,xsmall,small>
234
235#
236# Configure size of TCP hash table
237#
238options CONFIG_TCBHASHSIZE=4096 # <medium,large,xlarge>
239options CONFIG_TCBHASHSIZE=128 # <xsmall,small,bsmall>
240
241#
242# Configure bandwidth limiting sysctl
243#
244options CONFIG_ICMP_BANDLIM=250 # <medium,large,xlarge>
245options CONFIG_ICMP_BANDLIM=50 # <xsmall,small,bsmall>
246
247#
248# configurable async IO options
249# CONFIG_AIO_MAX - system wide limit of async IO requests.
250# CONFIG_AIO_PROCESS_MAX - process limit of async IO requests.
251# CONFIG_AIO_THREAD_COUNT - number of async IO worker threads created.
252#
253options CONFIG_AIO_MAX=360 # <xlarge>
254options CONFIG_AIO_MAX=180 # <large>
255options CONFIG_AIO_MAX=90 # <medium>
256options CONFIG_AIO_MAX=45 # <small>
257options CONFIG_AIO_MAX=20 # <xsmall>
258options CONFIG_AIO_MAX=10 # <bsmall>
259
260options CONFIG_AIO_PROCESS_MAX=64 # <xlarge>
261options CONFIG_AIO_PROCESS_MAX=32 # <large>
262options CONFIG_AIO_PROCESS_MAX=16 # <medium>
263options CONFIG_AIO_PROCESS_MAX=12 # <small>
264options CONFIG_AIO_PROCESS_MAX=8 # <xsmall>
265options CONFIG_AIO_PROCESS_MAX=4 # <bsmall>
266
267options CONFIG_AIO_THREAD_COUNT=16 # <xlarge>
268options CONFIG_AIO_THREAD_COUNT=8 # <large>
269options CONFIG_AIO_THREAD_COUNT=4 # <medium>
270options CONFIG_AIO_THREAD_COUNT=3 # <small>
271options CONFIG_AIO_THREAD_COUNT=2 # <xsmall,bsmall>
272
273options CONFIG_MAXVIFS=32 # <medium,large,xlarge>
274options CONFIG_MAXVIFS=16 # <small,xsmall>
275options CONFIG_MAXVIFS=2 # <bsmall>
276
277options CONFIG_MFCTBLSIZ=256 # <medium,large,xlarge>
278options CONFIG_MFCTBLSIZ=128 # <small,xsmall>
279options CONFIG_MFCTBLSIZ=16 # <bsmall>
280
281#
282# configurable kernel message buffer size
283#
284options CONFIG_MSG_BSIZE_REL=4096 # <bsmall,small,xsmall>
285options CONFIG_MSG_BSIZE_DEV=4096 # <bsmall,small,xsmall>
286options CONFIG_MSG_BSIZE_REL=16384 # <medium,large,xlarge>
287options CONFIG_MSG_BSIZE_DEV=131072 # <medium,large,xlarge>
288options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_REL # <!development,debug>
289options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_DEV # <development,debug>
290
291#
292# maximum size of the per-process Mach IPC table
293#
294options CONFIG_IPC_TABLE_ENTRIES_STEPS=64 # 137898 entries # <bsmall,small,xsmall>
295options CONFIG_IPC_TABLE_ENTRIES_STEPS=256 # 300714 entries # <medium,large,xlarge>
296
297#
298# configurable kernel - use these options to strip strings from panic
299# and printf calls.
300# no_printf_str - saves around 45K of kernel footprint.
301#
302options CONFIG_NO_PRINTF_STRINGS # <no_printf_str>
303options CONFIG_NO_KPRINTF_STRINGS # <no_kprintf_str>
304
305#
306# use finer-grained lock groups for the proc subsystem
307#
308options CONFIG_FINE_LOCK_GROUPS # <medium,large,xlarge>
309
310
311# support dynamic signing of code
312#
313options CONFIG_DYNAMIC_CODE_SIGNING # <dynamic_codesigning>
314
315# enforce library validation on all processes.
316#
317options CONFIG_ENFORCE_LIBRARY_VALIDATION # <config_library_validation>
318
319#
320# code decryption... used on embedded for app protection, DSMOS on desktop
321#
322options CONFIG_CODE_DECRYPTION # <config_code_decryption>
323
324#
325# User Content Protection, used on embedded
326#
327options CONFIG_PROTECT # <config_protect>
328
329#
330# enable per-process memory priority tracking
331#
332options CONFIG_MEMORYSTATUS # <memorystatus>
333
334#
335# enable jetsam - used on embedded
336#
337options CONFIG_JETSAM # <jetsam>
338
339#
340# enable new link table implementation stats/debugging
341# (adds mesaureable overhead)
342#
343options CONFIG_LTABLE_STATS # <config_ltable_stats>
344options CONFIG_LTABLE_DEBUG # <config_ltable_debug>
345
346#
347# enable new wait queue implementation stats / debugging
348#
349options CONFIG_WAITQ_STATS # <config_waitq_stats>
350options CONFIG_WAITQ_DEBUG # <config_waitq_debug>
351
352#
353# enable freezing of suspended processes - used on embedded
354#
355options CONFIG_FREEZE # <freeze>
356
357options CHECK_CS_VALIDATION_BITMAP # <config_cs_validation_bitmap>
358
359#
360# enable detectiion of file cache thrashing - used on platforms with
361# dynamic VM compression enabled
362#
363options CONFIG_PHANTOM_CACHE # <phantom_cache>
364
365#
366# memory pressure event support
367#
368options VM_PRESSURE_EVENTS # <vm_pressure_events>
369
370options CONFIG_SECLUDED_MEMORY # <config_secluded_memory>
371
372options CONFIG_BACKGROUND_QUEUE # <config_background_queue>
373
374#
375# I/O Scheduling
376#
377options CONFIG_IOSCHED # <config_iosched>
378
379#
380# Accounting for I/O usage
381#
382options CONFIG_IO_ACCOUNTING # <config_io_accounting>
383
384#
385# Enable inheritance of importance through specially marked mach ports and for file locks
386# For now debug is enabled wherever inheritance is
387#
388options IMPORTANCE_INHERITANCE # <importance_inheritance>
389options IMPORTANCE_TRACE # <importance_trace>
390options IMPORTANCE_DEBUG # <importance_debug>
391
392options CONFIG_TELEMETRY # <config_telemetry>
393
394options CONFIG_PROC_UUID_POLICY # <config_proc_uuid_policy>
395
396#
397# ECC data logging
398#
399options CONFIG_ECC_LOGGING # <config_ecc_logging>
400
401#
402# Application core dumps
403#
404options CONFIG_COREDUMP # <config_coredump>
405
406#
407# Vnode guards
408#
409options CONFIG_VNGUARD # <config_vnguard>
410
411#
412# Ethernet (ARP)
413#
414pseudo-device ether # <networking,inet,inet6>
415#
416# Network loopback device
417#
418pseudo-device loop # <networking,inet,inet6>
419#
420# UCB pseudo terminal service
421#
422pseudo-device pty 512 init pty_init # <xlarge>
423pseudo-device pty 256 init pty_init # <large>
424pseudo-device pty 128 init pty_init # <medium>
425pseudo-device pty 48 init pty_init # <small>
426pseudo-device pty 16 init pty_init # <xsmall>
427pseudo-device pty 8 init pty_init # <bsmall>
428#
429# Cloning pseudo terminal service
430#
431pseudo-device ptmx 1 init ptmx_init
432
433#
434# vnode device
435#
436pseudo-device vndevice 4 init vndevice_init # <development,debug>
437
438#
439# memory device
440pseudo-device mdevdevice 1 init mdevinit
441
442#
443#
444# packet filter device
445#
446pseudo-device bpfilter 4 init bpf_init # <networking,inet,inet6>
447
448#
449# fsevents device
450pseudo-device fsevents 1 init fsevents_init # <config_fse>
451
452pseudo-device random 1 init random_init
453pseudo-device dtrace 1 init dtrace_init # <config_dtrace>
454pseudo-device helper 1 init helper_init # <config_dtrace>
455pseudo-device lockstat 1 init lockstat_init # <config_dtrace>
456pseudo-device sdt 1 init sdt_init # <config_dtrace>
457pseudo-device systrace 1 init systrace_init # <config_dtrace>
458pseudo-device fbt 1 init fbt_init # <config_dtrace>
459pseudo-device profile_prvd 1 init profile_init # <config_dtrace>
460
461
462#
463# IOKit configuration options
464#
465
466options HIBERNATION # system hibernation # <hibernation>
467options IOKITCPP # C++ implementation # <iokitcpp>
468options IOKITSTATS # IOKit statistics # <iokitstats>
469options IOTRACKING # IOKit tracking # <iotracking>
470options CONFIG_SLEEP # # <config_sleep>
471options CONFIG_MAX_THREADS=64 # IOConfigThread threads
472options NO_KEXTD # <no_kextd>
473options NO_KERNEL_HID # <no_kernel_hid>
474
475#
476# Libkern configuration options
477#
478
479options LIBKERNCPP # C++ implementation # <libkerncpp>
480options CONFIG_KXLD # kxld/runtime linking of kexts # <config_kxld>
481options CONFIG_KEC_FIPS # Kernel External Components for FIPS compliance (KEC_FIPS) # <config_kec_fips>
482
483# Note that when adding this config option to an architecture, one MUST
484# add the architecture to the preprocessor test at the beginning of
485# libkern/kmod/cplus_{start.c,stop.c}.
486options CONFIG_STATIC_CPPINIT # Static library initializes kext cpp runtime # <config_static_cppinit>
487
488#
489# libsa configuration options
490#
491
492# CONFIG_KEXT_BASEMENT - alloc post boot loaded kexts after prelinked kexts
493#
494options CONFIG_KEXT_BASEMENT # # <config_kext_basement>
495
496#
497# Persona Management
498#
499options CONFIG_PERSONAS # Persona management # <config_personas>
500options PERSONA_DEBUG # Persona debugging # <persona_debug>
501
502#
503# security configuration options
504#
505
506options CONFIG_MACF # Mandatory Access Control Framework # <config_macf>
507options CONFIG_MACF_SOCKET_SUBSET # MAC socket subest (no labels) # <config_macf>
508#options CONFIG_MACF_SOCKET # MAC socket labels # <config_macf>
509#options CONFIG_MACF_NET # mbuf # <config_macf>
510#options CONFIG_MACF_DEBUG # debug # <config_macf>
511
512options CONFIG_AUDIT # Kernel auditing # <config_audit>
513
514
515#
516# MACH configuration options.
517#
518# TASK_SWAPPER enables code that manages demand for physical memory by
519# forcibly suspending tasks when the demand exceeds supply. This
520# option should be on.
521#
522options TASK_SWAPPER # <task_swapper_disabled>
523
524#
525# This defines configuration options that are normally used only during
526# kernel code development and debugging. They add run-time error checks or
527# statistics gathering, which will slow down the system
528#
529##########################################################
530#
531# MACH_ASSERT controls the assert() and ASSERT() macros, used to verify the
532# consistency of various algorithms in the kernel. The performance impact
533# of this option is significant.
534#
535options MACH_ASSERT # # <mach_assert>
536#
537# MACH_DEBUG enables the mach_debug_server, a message interface used to
538# retrieve or control various statistics. This interface may expose data
539# structures that would not normally be allowed outside the kernel, and
540# MUST NOT be enabled on a released configuration.
541# Other options here enable information retrieval for specific subsystems
542#
543options MACH_DEBUG # IPC debugging interface # <mdebug>
544options MACH_IPC_DEBUG # Enable IPC debugging calls # <ipc_debug>
545options MACH_VM_DEBUG # # <debug>
546#
547# MACH_MP_DEBUG control the possible dead locks that may occur by controlling
548# that IPL level has been raised down to SPL0 after some calls to
549# hardclock device driver.
550#
551options MACH_MP_DEBUG # # <debug>
552#
553# ZONE_DEBUG keeps track of all zalloc()ed elements to perform further
554# operations on each element.
555#
556options ZONE_DEBUG # # <debug>
557
558options CONFIG_ZLEAKS # Live zone leak debugging # <zleaks>
559
560#
561# CONFIG_TASK_ZONE_INFO allows per-task zone information to be extracted
562# Primarily useful for xnu debug and development.
563#
564options CONFIG_TASK_ZONE_INFO # <task_zone_info>
565#
566# CONFIG_DEBUGGER_FOR_ZONE_INFO restricts zone info so that it is only
567# available when the kernel is being debugged.
568#
569options CONFIG_DEBUGGER_FOR_ZONE_INFO # <debugger_for_zone_info>
570#
571# XPR_DEBUG enables the gathering of data through the XPR macros inserted
572# into various subsystems. This option is normally only enabled for
573# specific performance or behavior studies, as the overhead in both
574# code and data space is large. The data is normally retrieved through
575# the kernel debugger (kdb) or by reading /dev/kmem.
576#
577options XPR_DEBUG # # <debug>
578#
579# MACH_LDEBUG controls the internal consistency checks and
580# data gathering in the locking package. This also enables a debug-only
581# version of simple-locks on uniprocessor machines. The code size and
582# performance impact of this option is significant.
583#
584options MACH_LDEBUG # # <debug>
585
586#
587# configuration option for full, partial, or no kernel debug event tracing
588#
589options KDEBUG # kernel tracing # <kdebug>
590options IST_KDEBUG # limited tracing # <ist_kdebug>
591options NO_KDEBUG # no kernel tracing # <no_kdebug>
592
593#
594# CONFIG_DTRACE enables code needed to support DTrace. Currently this is
595# only used for delivery of traps/interrupts to DTrace.
596#
597options CONFIG_DTRACE # # <config_dtrace>
598
599# kernel performance tracing
600options KPERF # <kperf>
601options KPC # <kpc>
602
603
604options PGO # <pgo>
605
606# MACH_COUNTERS enables code that handles various counters in the system.
607#
608options MACH_COUNTERS # # <debug>
609
610# DEVELOPMENT define for development builds
611options DEVELOPMENT # dev kernel # <development>
612
613# DEBUG kernel
614options DEBUG # general debugging code # <debug>
615
616##########################################################
617#
618# This defines configuration options that are normally used only during
619# kernel code development and performance characterization. They add run-time
620# statistics gathering, which will slow down the system,
621#
622##########################################################
623#
624# MACH_IPC_STATS controls the collection of statistics in the MACH IPC
625# subsystem.
626#
627#options MACH_IPC_STATS
628#
629# MACH_CLUSTER_STATS controls the collection of various statistics concerning
630# the effectiveness and behavior of the clustered pageout and pagein
631# code.
632#
633#options MACH_CLUSTER_STATS
634
635options MACH_BSD # BSD subsystem on top of Mach # <mach_bsd>
636options IOKIT # # <iokit>
637
638#
639# configurable kernel related resources (CONFIG_THREAD_MAX needs to stay in
640# sync with bsd/conf/MASTER until we fix the config system... todo XXX
641#
642options CONFIG_THREAD_MAX=2560 # <medium,large,xlarge>
643options CONFIG_THREAD_MAX=1536 # <small,xsmall>
644options CONFIG_THREAD_MAX=1024 # <bsmall>
645
646options CONFIG_TASK_MAX=1024 # <medium,large,xlarge>
647options CONFIG_TASK_MAX=768 # <small,>
648options CONFIG_TASK_MAX=512 # <xsmall,bsmall>
649
650options CONFIG_ZONE_MAP_MIN=12582912 # <medium,large,xlarge>
651options CONFIG_ZONE_MAP_MIN=6291456 # <small>
652options CONFIG_ZONE_MAP_MIN=1048576 # <xsmall,bsmall>
653
654# Sizes must be a power of two for the zhash to
655# be able to just mask off bits instead of mod
656options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=16384 #<medium,large,xlarge>
657options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=8192 #<small,xsmall,bsmall>
658options CONFIG_ZLEAK_TRACE_MAP_NUM=8192 #<medium,large,xlarge>
659options CONFIG_ZLEAK_TRACE_MAP_NUM=4096 #<small,xsmall,bsmall>
660
661# vc_progress_white - make the progress gear white instead of black
662options CONFIG_VC_PROGRESS_WHITE # <vc_progress_white>
663
664#
665# Timeshare scheduler implementations
666#
667options CONFIG_SCHED_TRADITIONAL # <config_sched_traditional>
668options CONFIG_SCHED_PROTO # <config_sched_proto>
669options CONFIG_SCHED_GRRR # <config_sched_grrr>
670options CONFIG_SCHED_GRRR_CORE # <config_sched_grrr>
671options CONFIG_SCHED_MULTIQ # <config_sched_multiq>
672options CONFIG_SCHED_TIMESHARE_CORE # <config_sched_traditional,config_sched_multiq>
673
674options CONFIG_SCHED_IDLE_IN_PLACE # <config_sched_idle_in_place>
675options CONFIG_SCHED_SFI # <config_sched_sfi>
676options CONFIG_GZALLOC # <config_gzalloc>
677options CONFIG_SCHED_DEFERRED_AST # <config_sched_deferred_ast>
678
679# Enable allocation of contiguous physical memory through vm_map_enter_cpm()
680options VM_CPM # <vm_cpm>
681
682options CONFIG_SKIP_PRECISE_USER_KERNEL_TIME # <config_skip_precise_user_kernel_time>
683
684#
685# Switch to disable cpu, wakeup and high memory watermark monitors
686#
687options CONFIG_NOMONITORS # <config_nomonitors>
688
689options MACH_KDP # KDP # <mach_kdp>
690options CONFIG_SERIAL_KDP # KDP over serial # <config_serial_kdp>
691options CONFIG_KDP_INTERACTIVE_DEBUGGING # <kdp_interactive_debugging>
692
693#
694# Kernel Power On Self Tests
695#
696options CONFIG_XNUPOST # <config_xnupost>
697
698#
699# Kernel proc reference instrumentation
700#
701options PROC_REF_DEBUG # <proc_ref_debug>
702
703#
704# Kernel OS reason debug instrumentation
705#
706options OS_REASON_DEBUG # <os_reason_debug>
707
708#
709# Kernel Voucher Attr Manager for Activity Trace
710#
711options CONFIG_ATM # <config_atm>
712
713# Group related tasks together into coalitions
714options CONFIG_COALITIONS # <config_coalitions>
715
716# Enable support for sysdiagnose notifications
717options CONFIG_SYSDIAGNOSE # <config_sysdiagnose>
718
719# Configurable Security Restrictions
720options CONFIG_CSR # <config_csr>
721
722#
723# Console options
724#
725options SERIAL_CONSOLE # bi-directional serial over UART
726options VIDEO_CONSOLE # uni-directional output over framebuffer
727
728#
729# Syscall options
730#
731options CONFIG_REQUIRES_U32_MUNGING # incoming U32 argument structures must be munged to match U64 # <config_requires_u32_munging>
732
733#
734# copyout() instrumentation
735#
736options COPYOUT_SHIM # Shim for copyout memory analysis via kext #<copyout_shim>
737