2 # Mach Operating System
3 # Copyright (c) 1986 Carnegie-Mellon University
4 # Copyright 2001-2018 Apple Inc.
6 # All rights reserved. The CMU software License Agreement
7 # specifies the terms and conditions for use and redistribution.
9 #######################################################################
11 # Master machine independent configuration file.
13 # Specific configuration files are created based on this and
14 # the machine specific master file using the doconf script.
16 # Any changes to the master configuration files will affect all
17 # other configuration files based upon it.
19 #######################################################################
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:
25 # <configuration> = [ <attribute0> <attribute1> ... <attributeN> ]
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
35 # <foo,bar> selects a line if "foo" or "bar" are specified.
36 # <!foo,bar> selects a line if neither "foo" nor "bar" is
39 # Lines with no attributes specified are selected for all
42 #######################################################################
44 # SYSTEM SIZE CONFIGURATION (select exactly one)
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
53 #######################################################################
56 options INET # # <inet>
57 options HW_AST # Hardware ast support # <hw_ast>
58 options HW_FOOTPRINT # Cache footprint support # <hw_foot>
60 options MACH # Standard Mach features # <mach>
61 options MACH_COMPAT # Vendor syscall compatibility # <mach>
62 options MACH_FASTLINK # Fast symbolic links
63 options MACH_HOST # Mach host (resource alloc.) # <host>
64 options MACH_IPC_COMPAT # Enable old IPC interface # <ipc_compat>
65 options MACH_IPC_TEST # Testing code/printfs # <ipc_test>
66 options MACH_FLIPC # Fast-Local IPC # <mach_flipc>
67 options MACH_NP # Mach IPC support # <np>
68 options MACH_NBC # No buffer cache # <nbc>
69 options MACH_NET # Fast network access # <mach_net>
70 options MACH_XP # external pager support # <xp>
71 options NO_DIRECT_RPC # for untyped mig servers #
72 options LOOP # loopback support # <loop>
73 options VLAN # # <vlan>
74 options BOND # # <bond>
75 options IF_FAKE # # <if_fake>
76 options AH_ALL_CRYPTO # AH all crypto algs # <ah_all_crypto>
77 options IPCOMP_ZLIB # IP compression using zlib # <ipcomp_zlib>
78 options PF # Packet Filter # <pf>
79 options PF_ECN # PF use ECN marking # <pf_ecn>
80 options PFLOG # PF log interface # <pflog>
81 options MEASURE_BW # interface bandwidth measurement # <measure_bw>
82 options DUMMYNET # dummynet support # <dummynet>
83 options TRAFFIC_MGT # traffic management support # <traffic_mgt>
84 options MULTICAST # Internet Protocol Class-D $
85 options TCPDEBUG # TCP debug # <tcpdebug>
86 options TCP_DROP_SYNFIN # Drop TCP packets with SYN+FIN set # <tcpdrop_synfin>
87 options ICMP_BANDLIM # ICMP bandwidth limiting sysctl
88 options IFNET_INPUT_SANITY_CHK # allow dlil/ifnet input sanity check # <ifnet_input_chk>
89 options MULTIPATH # Multipath domain # <multipath>
90 options MPTCP # Multipath TCP # <mptcp>
91 options SYSV_SEM # SVID semaphores # <sysv_sem>
92 options SYSV_MSG # SVID messages # <sysv_msg>
93 options SYSV_SHM # SVID shared mem # <sysv_shm>
94 options PSYNCH # pthread synch # <psynch>
95 options FLOW_DIVERT # <flow_divert>
97 options CONTENT_FILTER # # <content_filter>
98 options PACKET_MANGLER # # <packet_mangler>
100 # secure_kernel - secure kernel from user programs
101 options SECURE_KERNEL # <secure_kernel>
103 options OLD_SEMWAIT_SIGNAL # old semwait_signal handler
108 options SOCKETS # socket support # <inet, inet6>
109 options DIAGNOSTIC # diagnostics # <diagnostic>
110 options GPROF # build profiling # <profile>
111 options PROFILE # kernel profiling # <profile>
112 options SENDFILE # sendfile # <sendfile>
113 options NETWORKING # networking layer # <inet, inet6>
114 options CONFIG_FSE # file system events # <config_fse>
115 options CONFIG_IMAGEBOOT # local image boot # <config_imageboot>
116 options CONFIG_MBUF_JUMBO # jumbo cluster pool # <config_mbuf_jumbo>
118 options CONFIG_WORKQUEUE # <config_workqueue>
119 options CONFIG_WORKLOOP_DEBUG # <config_workloop_debug>
124 options MOCKFS # Boot from an executable # <mockfs>
125 options FIFO # fifo support # <fifo>
126 options FDESC # fdesc_fs support # <fdesc>
127 options DEVFS # devfs support # <devfs>
128 options ROUTEFS # routefs support # <routefs>
129 options NULLFS # nullfs support # <nullfs>
130 options FS_COMPRESSION # fs compression # <fs_compression>
131 options CONFIG_DEV_KMEM # /dev/kmem device for reading KVA # <config_dev_kmem>
134 # file system features
136 options QUOTA # file system quotas # <quota>
137 options NAMEDSTREAMS # named stream vnop support # <namedstreams>
138 options CONFIG_APPLEDOUBLE # apple double support # <config_appledouble>
139 options CONFIG_VOLFS # volfs path support (legacy) # <config_volfs>
140 options CONFIG_IMGSRC_ACCESS # source of imageboot dmg # <config_imgsrc_access>
141 options CONFIG_TRIGGERS # trigger vnodes # <config_triggers>
142 options CONFIG_EXT_RESOLVER # e.g. memberd # <config_ext_resolver>
143 options CONFIG_SEARCHFS # searchfs syscall support # <config_searchfs>
144 options CONFIG_MNT_SUID # allow suid binaries # <config_mnt_suid>
145 options CONFIG_MNT_ROOTSNAP # allow rooting from snapshot # <config_mnt_rootsnap>
150 options NFSCLIENT # Be an NFS client # <nfsclient>
151 options NFSSERVER # Be an NFS server # <nfsserver>
154 # Machine Independent Apple Features
156 profile # build a profiling kernel # <profile>
161 options "INET6" # kernel IPv6 Support # <inet6>
162 options IPV6SEND # Secure Neighbor Discovery # <ipv6send>
163 options IPSEC # IP security # <ipsec>
164 options IPSEC_ESP # IP security # <ipsec>
165 options "IPV6FIREWALL" # IPv6 Firewall Feature # <ipv6firewall>
166 options "IPV6FIREWALL_DEFAULT_TO_ACCEPT" #IPv6 Firewall Feature # <ipv6firewall>
167 #options "IPV6FIREWALL_VERBOSE" #IPv6 Firewall Feature # <ipv6firewall>
169 pseudo-device gif 1 # <gif>
170 pseudo-device dummy 2 # <dummy>
171 pseudo-device stf 1 # <stf>
173 options CRYPTO # <ipsec,crypto>
174 options CRYPTO_SHA2 # <crypto_sha2>
175 options ENCRYPTED_SWAP # <encrypted_swap>
177 options CONFIG_IMG4 # <config_img4>
179 options ZLIB # inflate/deflate support # <zlib>
181 options IF_BRIDGE # <if_bridge>
184 # configurable kernel event related resources
186 options CONFIG_KN_HASHSIZE=64 # <medium,large,xlarge>
187 options CONFIG_KN_HASHSIZE=48 # <small,xsmall>
188 options CONFIG_KN_HASHSIZE=20 # <bsmall>
191 # configurable vfs related resources
192 # CONFIG_VNODES - used to pre allocate vnode related resources
193 # CONFIG_NC_HASH - name cache hash table allocation
194 # CONFIG_VFS_NAMES - name strings
196 # 263168 magic number for medium CONFIG_VNODES is based on memory
197 # Number vnodes is (memsize/64k) + 1024
198 # This is the calculation that is used by launchd in tiger
199 # we are clipping the max based on 16G
200 # ie ((16*1024*1024*1024)/(64 *1024)) + 1024 = 263168;
202 options CONFIG_VNODES=263168 # <large,xlarge>
203 options CONFIG_VNODES=263168 # <medium>
204 options CONFIG_VNODES=10240 # <small>
205 options CONFIG_VNODES=750 # <bsmall>
207 options CONFIG_NC_HASH=5120 # <large,xlarge>
208 options CONFIG_NC_HASH=4096 # <medium>
209 options CONFIG_NC_HASH=2048 # <small,xsmall>
210 options CONFIG_NC_HASH=1024 # <bsmall>
212 options CONFIG_VFS_NAMES=5120 # <large,xlarge>
213 options CONFIG_VFS_NAMES=4096 # <medium>
214 options CONFIG_VFS_NAMES=3072 # <small,xsmall>
215 options CONFIG_VFS_NAMES=2048 # <bsmall>
217 options CONFIG_MAX_CLUSTERS=8 # <xlarge,large,medium>
218 options CONFIG_MAX_CLUSTERS=4 # <small,xsmall,bsmall>
221 # configurable options for minumum number of buffers for kernel memory
223 options CONFIG_MIN_NBUF=256 # <medium,large,xlarge>
224 options CONFIG_MIN_NBUF=128 # <small>
225 options CONFIG_MIN_NBUF=80 # <xsmall>
226 options CONFIG_MIN_NBUF=64 # <bsmall>
228 options CONFIG_MIN_NIOBUF=128 # <medium,large,xlarge>
229 options CONFIG_MIN_NIOBUF=64 # <xsmall,small>
230 options CONFIG_MIN_NIOBUF=32 # <bsmall>
233 # set maximum space used for packet buffers
235 options CONFIG_NMBCLUSTERS="((1024 * 1024) / MCLBYTES)" # <large,xlarge>
236 options CONFIG_NMBCLUSTERS="((1024 * 512) / MCLBYTES)" # <medium>
237 options CONFIG_NMBCLUSTERS="((1024 * 256) / MCLBYTES)" # <bsmall,xsmall,small>
240 # Configure size of TCP hash table
242 options CONFIG_TCBHASHSIZE=4096 # <medium,large,xlarge>
243 options CONFIG_TCBHASHSIZE=128 # <xsmall,small,bsmall>
246 # Configure bandwidth limiting sysctl
248 options CONFIG_ICMP_BANDLIM=250 # <medium,large,xlarge>
249 options CONFIG_ICMP_BANDLIM=50 # <xsmall,small,bsmall>
252 # configurable async IO options
253 # CONFIG_AIO_MAX - system wide limit of async IO requests.
254 # CONFIG_AIO_PROCESS_MAX - process limit of async IO requests.
255 # CONFIG_AIO_THREAD_COUNT - number of async IO worker threads created.
257 options CONFIG_AIO_MAX=360 # <xlarge>
258 options CONFIG_AIO_MAX=180 # <large>
259 options CONFIG_AIO_MAX=90 # <medium>
260 options CONFIG_AIO_MAX=45 # <small>
261 options CONFIG_AIO_MAX=20 # <xsmall>
262 options CONFIG_AIO_MAX=10 # <bsmall>
264 options CONFIG_AIO_PROCESS_MAX=64 # <xlarge>
265 options CONFIG_AIO_PROCESS_MAX=32 # <large>
266 options CONFIG_AIO_PROCESS_MAX=16 # <medium>
267 options CONFIG_AIO_PROCESS_MAX=12 # <small>
268 options CONFIG_AIO_PROCESS_MAX=8 # <xsmall>
269 options CONFIG_AIO_PROCESS_MAX=4 # <bsmall>
271 options CONFIG_AIO_THREAD_COUNT=16 # <xlarge>
272 options CONFIG_AIO_THREAD_COUNT=8 # <large>
273 options CONFIG_AIO_THREAD_COUNT=4 # <medium>
274 options CONFIG_AIO_THREAD_COUNT=3 # <small>
275 options CONFIG_AIO_THREAD_COUNT=2 # <xsmall,bsmall>
277 options CONFIG_MAXVIFS=32 # <medium,large,xlarge>
278 options CONFIG_MAXVIFS=16 # <small,xsmall>
279 options CONFIG_MAXVIFS=2 # <bsmall>
281 options CONFIG_MFCTBLSIZ=256 # <medium,large,xlarge>
282 options CONFIG_MFCTBLSIZ=128 # <small,xsmall>
283 options CONFIG_MFCTBLSIZ=16 # <bsmall>
286 # configurable kernel message buffer size
288 options CONFIG_MSG_BSIZE_REL=4096 # <bsmall,small,xsmall>
289 options CONFIG_MSG_BSIZE_DEV=4096 # <bsmall,small,xsmall>
290 options CONFIG_MSG_BSIZE_REL=16384 # <medium,large,xlarge>
291 options CONFIG_MSG_BSIZE_DEV=131072 # <medium,large,xlarge>
292 options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_REL # <!development,debug>
293 options CONFIG_MSG_BSIZE=CONFIG_MSG_BSIZE_DEV # <development,debug>
296 # maximum size of the per-process Mach IPC table
298 options CONFIG_IPC_TABLE_ENTRIES_STEPS=64 # 137898 entries # <bsmall,small,xsmall>
299 options CONFIG_IPC_TABLE_ENTRIES_STEPS=256 # 300714 entries # <medium,large,xlarge>
302 # configurable kernel - use these options to strip strings from panic
304 # no_printf_str - saves around 45K of kernel footprint.
306 options CONFIG_NO_PRINTF_STRINGS # <no_printf_str>
307 options CONFIG_NO_KPRINTF_STRINGS # <no_kprintf_str>
310 # use finer-grained lock groups for the proc subsystem
312 options CONFIG_FINE_LOCK_GROUPS # <medium,large,xlarge>
315 # configurable kernel - general switch to say we are building for an
318 options CONFIG_EMBEDDED # <config_embedded>
321 # support dynamic signing of code
323 options CONFIG_DYNAMIC_CODE_SIGNING # <dynamic_codesigning>
325 # enforce library validation on all processes.
327 options CONFIG_ENFORCE_LIBRARY_VALIDATION # <config_library_validation>
330 # code decryption... used on embedded for app protection, DSMOS on desktop
332 options CONFIG_CODE_DECRYPTION # <config_code_decryption>
335 # User Content Protection, used on embedded
337 options CONFIG_PROTECT # <config_protect>
339 #allow write-protection of key page
340 options CONFIG_KEYPAGE_WP # <config_keypage_wp>
343 # enable per-process memory priority tracking
345 options CONFIG_MEMORYSTATUS # <memorystatus>
348 # enable jetsam - used on embedded
350 options CONFIG_JETSAM # <jetsam>
353 # enable new link table implementation stats/debugging
354 # (adds mesaureable overhead)
356 options CONFIG_LTABLE_STATS # <config_ltable_stats>
357 options CONFIG_LTABLE_DEBUG # <config_ltable_debug>
360 # enable new wait queue implementation stats / debugging
362 options CONFIG_WAITQ_STATS # <config_waitq_stats>
363 options CONFIG_WAITQ_DEBUG # <config_waitq_debug>
366 # enable freezing of suspended processes - used on embedded
368 options CONFIG_FREEZE # <freeze>
370 options CHECK_CS_VALIDATION_BITMAP # <config_cs_validation_bitmap>
373 # enable detectiion of file cache thrashing - used on platforms with
374 # dynamic VM compression enabled
376 options CONFIG_PHANTOM_CACHE # <phantom_cache>
379 # memory pressure event support
381 options VM_PRESSURE_EVENTS # <vm_pressure_events>
383 options CONFIG_SECLUDED_MEMORY # <config_secluded_memory>
385 options CONFIG_BACKGROUND_QUEUE # <config_background_queue>
390 options CONFIG_LEDGER_INTERVAL_MAX # <config_ledger_interval_max>
395 options CONFIG_IOSCHED # <config_iosched>
398 # Accounting for I/O usage
400 options CONFIG_IO_ACCOUNTING # <config_io_accounting>
403 # Enable inheritance of importance through specially marked mach ports and for file locks
404 # For now debug is enabled wherever inheritance is
406 options IMPORTANCE_INHERITANCE # <importance_inheritance>
407 options IMPORTANCE_TRACE # <importance_trace>
408 options IMPORTANCE_DEBUG # <importance_debug>
410 options CONFIG_TELEMETRY # <config_telemetry>
412 options CONFIG_PROC_UUID_POLICY # <config_proc_uuid_policy>
417 options CONFIG_ECC_LOGGING # <config_ecc_logging>
420 # Application core dumps
422 options CONFIG_COREDUMP # <config_coredump>
427 options CONFIG_VNGUARD # <config_vnguard>
432 pseudo-device ether # <networking,inet,inet6>
434 # Network loopback device
436 pseudo-device loop # <networking,inet,inet6>
438 # UCB pseudo terminal service
440 pseudo-device pty 512 init pty_init # <xlarge>
441 pseudo-device pty 256 init pty_init # <large>
442 pseudo-device pty 128 init pty_init # <medium>
443 pseudo-device pty 48 init pty_init # <small>
444 pseudo-device pty 16 init pty_init # <xsmall>
445 pseudo-device pty 8 init pty_init # <bsmall>
447 # Cloning pseudo terminal service
449 pseudo-device ptmx 1 init ptmx_init
454 pseudo-device vndevice 4 init vndevice_init # <development,debug>
458 pseudo-device mdevdevice 1 init mdevinit
462 # packet filter device
464 pseudo-device bpfilter 4 init bpf_init # <networking,inet,inet6>
468 pseudo-device fsevents 1 init fsevents_init # <config_fse>
470 pseudo-device random 1 init random_init
471 pseudo-device dtrace 1 init dtrace_init # <config_dtrace>
472 pseudo-device helper 1 init helper_init # <config_dtrace>
473 pseudo-device lockstat 1 init lockstat_init # <config_dtrace>
474 pseudo-device sdt 1 init sdt_init # <config_dtrace>
475 pseudo-device systrace 1 init systrace_init # <config_dtrace>
476 pseudo-device fbt 1 init fbt_init # <config_dtrace>
477 pseudo-device profile_prvd 1 init profile_init # <config_dtrace>
481 # IOKit configuration options
484 options HIBERNATION # system hibernation # <hibernation>
485 options IOKITCPP # C++ implementation # <iokitcpp>
486 options IOKITSTATS # IOKit statistics # <iokitstats>
487 options IOTRACKING # IOKit tracking # <iotracking>
488 options CONFIG_SLEEP # # <config_sleep>
489 options CONFIG_MAX_THREADS=64 # IOConfigThread threads
490 options NO_KEXTD # <no_kextd>
491 options NO_KERNEL_HID # <no_kernel_hid>
494 # Libkern configuration options
497 options LIBKERNCPP # C++ implementation # <libkerncpp>
498 options CONFIG_BLOCKS # Blocks runtime # <config_blocks>
499 options CONFIG_KXLD # kxld/runtime linking of kexts # <config_kxld>
500 options CONFIG_KEC_FIPS # Kernel External Components for FIPS compliance (KEC_FIPS) # <config_kec_fips>
502 # Note that when adding this config option to an architecture, one MUST
503 # add the architecture to the preprocessor test at the beginning of
504 # libkern/kmod/cplus_{start.c,stop.c}.
505 options CONFIG_STATIC_CPPINIT # Static library initializes kext cpp runtime # <config_static_cppinit>
508 # libsa configuration options
511 # CONFIG_KEXT_BASEMENT - alloc post boot loaded kexts after prelinked kexts
513 options CONFIG_KEXT_BASEMENT # # <config_kext_basement>
518 options CONFIG_PERSONAS # Persona management # <config_personas>
519 options PERSONA_DEBUG # Persona debugging # <persona_debug>
522 # security configuration options
525 options CONFIG_MACF # Mandatory Access Control Framework # <config_macf>
526 options CONFIG_MACF_SOCKET_SUBSET # MAC socket subest (no labels) # <config_macf>
527 #options CONFIG_MACF_SOCKET # MAC socket labels # <config_macf>
528 #options CONFIG_MACF_NET # mbuf # <config_macf>
529 #options CONFIG_MACF_DEBUG # debug # <config_macf>
531 options CONFIG_AUDIT # Kernel auditing # <config_audit>
535 # MACH configuration options.
537 # TASK_SWAPPER enables code that manages demand for physical memory by
538 # forcibly suspending tasks when the demand exceeds supply. This
539 # option should be on.
541 options TASK_SWAPPER # <task_swapper_disabled>
544 # This defines configuration options that are normally used only during
545 # kernel code development and debugging. They add run-time error checks or
546 # statistics gathering, which will slow down the system
548 ##########################################################
550 # MACH_ASSERT controls the assert() and ASSERT() macros, used to verify the
551 # consistency of various algorithms in the kernel. The performance impact
552 # of this option is significant.
554 options MACH_ASSERT # # <mach_assert>
556 # MACH_DEBUG enables the mach_debug_server, a message interface used to
557 # retrieve or control various statistics. This interface may expose data
558 # structures that would not normally be allowed outside the kernel, and
559 # MUST NOT be enabled on a released configuration.
560 # Other options here enable information retrieval for specific subsystems
562 options MACH_DEBUG # IPC debugging interface # <mdebug>
563 options MACH_IPC_DEBUG # Enable IPC debugging calls # <ipc_debug>
564 options MACH_VM_DEBUG # # <debug>
566 # MACH_MP_DEBUG control the possible dead locks that may occur by controlling
567 # that IPL level has been raised down to SPL0 after some calls to
568 # hardclock device driver.
570 options MACH_MP_DEBUG # # <debug>
572 # ZONE_DEBUG keeps track of all zalloc()ed elements to perform further
573 # operations on each element.
575 options ZONE_DEBUG # # <debug>
576 options CONFIG_ZCACHE #Enable per-cpu caching for zones # <config_zcache>
577 options CONFIG_ZLEAKS # Live zone leak debugging # <zleaks>
580 # CONFIG_TASK_ZONE_INFO allows per-task zone information to be extracted
581 # Primarily useful for xnu debug and development.
583 options CONFIG_TASK_ZONE_INFO # <task_zone_info>
585 # CONFIG_DEBUGGER_FOR_ZONE_INFO restricts zone info so that it is only
586 # available when the kernel is being debugged.
588 options CONFIG_DEBUGGER_FOR_ZONE_INFO # <debugger_for_zone_info>
590 # XPR_DEBUG enables the gathering of data through the XPR macros inserted
591 # into various subsystems. This option is normally only enabled for
592 # specific performance or behavior studies, as the overhead in both
593 # code and data space is large. The data is normally retrieved through
594 # the kernel debugger (kdb) or by reading /dev/kmem.
596 options XPR_DEBUG # # <debug>
598 # MACH_LDEBUG controls the internal consistency checks and
599 # data gathering in the locking package. This also enables a debug-only
600 # version of simple-locks on uniprocessor machines. The code size and
601 # performance impact of this option is significant.
603 options MACH_LDEBUG # # <debug>
606 # configuration option for full, partial, or no kernel debug event tracing
608 options KDEBUG # kernel tracing # <kdebug>
609 options IST_KDEBUG # limited tracing # <ist_kdebug>
610 options NO_KDEBUG # no kernel tracing # <no_kdebug>
613 # CONFIG_DTRACE enables code needed to support DTrace. Currently this is
614 # only used for delivery of traps/interrupts to DTrace.
616 options CONFIG_DTRACE # # <config_dtrace>
618 # kernel performance tracing
619 options KPERF # <kperf>
625 # MACH_COUNTERS enables code that handles various counters in the system.
627 options MACH_COUNTERS # # <debug>
629 # DEVELOPMENT define for development builds
630 options DEVELOPMENT # dev kernel # <development>
633 options DEBUG # general debugging code # <debug>
635 ##########################################################
637 # This defines configuration options that are normally used only during
638 # kernel code development and performance characterization. They add run-time
639 # statistics gathering, which will slow down the system,
641 ##########################################################
643 # MACH_IPC_STATS controls the collection of statistics in the MACH IPC
646 #options MACH_IPC_STATS
648 # MACH_CLUSTER_STATS controls the collection of various statistics concerning
649 # the effectiveness and behavior of the clustered pageout and pagein
652 #options MACH_CLUSTER_STATS
654 options MACH_BSD # BSD subsystem on top of Mach # <mach_bsd>
655 options IOKIT # # <iokit>
658 # configurable kernel related resources (CONFIG_THREAD_MAX needs to stay in
659 # sync with bsd/conf/MASTER until we fix the config system... todo XXX
661 options CONFIG_THREAD_MAX=2560 # <medium,large,xlarge>
662 options CONFIG_THREAD_MAX=1536 # <small,xsmall>
663 options CONFIG_THREAD_MAX=1024 # <bsmall>
665 options CONFIG_TASK_MAX=1024 # <medium,large,xlarge>
666 options CONFIG_TASK_MAX=768 # <small,>
667 options CONFIG_TASK_MAX=512 # <xsmall,bsmall>
669 options CONFIG_ZONE_MAP_MIN=12582912 # <medium,large,xlarge>
670 options CONFIG_ZONE_MAP_MIN=6291456 # <small>
671 options CONFIG_ZONE_MAP_MIN=1048576 # <xsmall,bsmall>
673 # Sizes must be a power of two for the zhash to
674 # be able to just mask off bits instead of mod
675 options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=16384 #<medium,large,xlarge>
676 options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=8192 #<small,xsmall,bsmall>
677 options CONFIG_ZLEAK_TRACE_MAP_NUM=8192 #<medium,large,xlarge>
678 options CONFIG_ZLEAK_TRACE_MAP_NUM=4096 #<small,xsmall,bsmall>
680 # vc_progress_white - make the progress gear white instead of black
681 options CONFIG_VC_PROGRESS_WHITE # <vc_progress_white>
684 # Timeshare scheduler implementations
686 options CONFIG_SCHED_TRADITIONAL # <config_sched_traditional>
687 options CONFIG_SCHED_PROTO # <config_sched_proto>
688 options CONFIG_SCHED_GRRR # <config_sched_grrr>
689 options CONFIG_SCHED_GRRR_CORE # <config_sched_grrr>
690 options CONFIG_SCHED_MULTIQ # <config_sched_multiq>
691 options CONFIG_SCHED_TIMESHARE_CORE # <config_sched_traditional,config_sched_multiq>
693 options CONFIG_SCHED_IDLE_IN_PLACE # <config_sched_idle_in_place>
694 options CONFIG_SCHED_SFI # <config_sched_sfi>
695 options CONFIG_GZALLOC # <config_gzalloc>
696 options CONFIG_SCHED_DEFERRED_AST # <config_sched_deferred_ast>
698 # Enable allocation of contiguous physical memory through vm_map_enter_cpm()
699 options VM_CPM # <vm_cpm>
701 options CONFIG_SKIP_PRECISE_USER_KERNEL_TIME # <config_skip_precise_user_kernel_time>
704 # Switch to disable cpu, wakeup and high memory watermark monitors
706 options CONFIG_NOMONITORS # <config_nomonitors>
708 options MACH_KDP # KDP # <mach_kdp>
709 options CONFIG_SERIAL_KDP # KDP over serial # <config_serial_kdp>
710 options CONFIG_KDP_INTERACTIVE_DEBUGGING # <kdp_interactive_debugging>
713 # Kernel Power On Self Tests
715 options CONFIG_XNUPOST # <config_xnupost>
718 # Kernel proc reference instrumentation
720 options PROC_REF_DEBUG # <proc_ref_debug>
723 # Kernel OS reason debug instrumentation
725 options OS_REASON_DEBUG # <os_reason_debug>
728 # Kernel Voucher Attr Manager for Activity Trace
730 options CONFIG_ATM # <config_atm>
732 # Group related tasks together into coalitions
733 options CONFIG_COALITIONS # <config_coalitions>
735 # Enable support for sysdiagnose notifications
736 options CONFIG_SYSDIAGNOSE # <config_sysdiagnose>
738 # Configurable Security Restrictions
739 options CONFIG_CSR # <config_csr>
744 options SERIAL_CONSOLE # bi-directional serial over UART
745 options VIDEO_CONSOLE # uni-directional output over framebuffer
750 options CONFIG_REQUIRES_U32_MUNGING # incoming U32 argument structures must be munged to match U64 # <config_requires_u32_munging>
753 # copyout() instrumentation
755 options COPYOUT_SHIM # Shim for copyout memory analysis via kext #<copyout_shim>
759 # Telemetry for 32-bit process launch
761 options CONFIG_32BIT_TELEMETRY # # <config_32bit_telemetry>
763 options CONFIG_QUIESCE_COUNTER # Support for _COMM_PAGE_CPU_QUIESCENT_COUNTER # <config_quiesce_counter>