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 Apple configuration file (see the master machine independent
12 # configuration file for a description of the file format).
14 ######################################################################
16 # Standard Apple OS Configurations:
17 # -------- ----- -- ---------------
19 # KERNEL_BASE = [ intel medium config_requires_u32_munging config_zcache ]
20 # KERNEL_RELEASE = [ KERNEL_BASE ]
21 # KERNEL_DEV = [ KERNEL_BASE development mach_assert config_xnupost proc_ref_debug os_reason_debug ]
22 # KERNEL_DEBUG = [ KERNEL_BASE debug mach_assert config_xnupost config_ltable_stats config_ltable_debug config_waitq_stats config_workloop_debug config_waitq_debug ]
23 # BSD_BASE = [ mach_bsd sysv_sem sysv_msg sysv_shm config_imageboot config_workqueue psynch config_proc_uuid_policy config_coredump pgo config_32bit_telemetry ]
24 # BSD_RELEASE = [ BSD_BASE ]
25 # BSD_DEV = [ BSD_BASE config_vnguard ]
26 # BSD_DEBUG = [ BSD_BASE config_vnguard ]
27 # FILESYS_BASE = [ devfs fdesc config_dev_kmem config_fse quota namedstreams config_mnt_rootsnap config_keypage_wp config_protect fifo config_volfs fs_compression config_imgsrc_access config_triggers config_ext_resolver config_searchfs config_appledouble nullfs config_mnt_suid ]
28 # FILESYS_RELEASE= [ FILESYS_BASE ]
29 # FILESYS_DEV = [ FILESYS_BASE ]
30 # FILESYS_DEBUG = [ FILESYS_BASE ]
31 # NFS = [ nfsclient nfsserver ]
32 # NETWORKING = [ inet inet6 ipv6send tcpdrop_synfin bpfilter dummynet traffic_mgt sendfile ah_all_crypto bond vlan gif stf ifnet_input_chk config_mbuf_jumbo if_bridge ipcomp_zlib MULTIPATH packet_mangler if_fake ]
33 # VPN = [ ipsec flow_divert necp content_filter ]
35 # MULTIPATH = [ multipath mptcp ]
36 # IOKIT_BASE = [ iokit iokitcpp hibernation config_sleep iokitstats hypervisor ]
37 # IOKIT_RELEASE = [ IOKIT_BASE ]
38 # IOKIT_DEV = [ IOKIT_BASE iotracking ]
39 # IOKIT_DEBUG = [ IOKIT_BASE iotracking ]
40 # LIBKERN_BASE = [ libkerncpp config_blocks config_kxld config_kec_fips zlib crypto_sha2 config_img4 ]
41 # LIBKERN_RELEASE =[ LIBKERN_BASE ]
42 # LIBKERN_DEV = [ LIBKERN_BASE iotracking ]
43 # LIBKERN_DEBUG = [ LIBKERN_BASE iotracking ]
44 # PERF_DBG = [ config_dtrace mach_kdp config_serial_kdp kdp_interactive_debugging kperf kpc zleaks config_gzalloc MONOTONIC_BASE ]
45 # MACH_BASE = [ mach config_kext_basement mdebug ipc_debug config_mca config_vmx config_mtrr config_lapic config_telemetry importance_inheritance config_atm config_coalitions hypervisor config_iosched config_sysdiagnose config_mach_bridge_send_time copyout_shim ]
46 # MACH_RELEASE = [ MACH_BASE ]
47 # MACH_DEV = [ MACH_BASE task_zone_info importance_trace config_ledger_interval_max ]
48 # MACH_DEBUG = [ MACH_BASE task_zone_info importance_trace config_ledger_interval_max importance_debug ]
49 # SCHED_BASE = [ config_sched_traditional config_sched_multiq config_sched_sfi ]
50 # SCHED_RELEASE = [ SCHED_BASE ]
51 # SCHED_DEV = [ SCHED_BASE ]
52 # SCHED_DEBUG = [ SCHED_BASE config_sched_grrr config_sched_proto ]
53 # VM = [ vm_pressure_events memorystatus dynamic_codesigning config_code_decryption encrypted_swap phantom_cache config_background_queue]
54 # SECURITY = [ config_macf config_audit config_csr ]
55 # RELEASE = [ KERNEL_RELEASE BSD_RELEASE FILESYS_RELEASE NFS SKYWALK_RELEASE NETWORKING PF VPN IOKIT_RELEASE LIBKERN_RELEASE PERF_DBG MACH_RELEASE SCHED_RELEASE VM SECURITY ]
56 # DEVELOPMENT = [ KERNEL_DEV BSD_DEV FILESYS_DEV NFS SKYWALK_DEV NETWORKING PF VPN IOKIT_DEV LIBKERN_DEV PERF_DBG MACH_DEV SCHED_DEV VM SECURITY ]
57 # DEBUG = [ KERNEL_DEBUG BSD_DEBUG FILESYS_DEBUG NFS SKYWALK_DEBUG NETWORKING PF VPN IOKIT_DEBUG LIBKERN_DEBUG PERF_DBG MACH_DEBUG SCHED_DEBUG VM SECURITY ]
58 # KASAN = [ DEVELOPMENT ]
60 ######################################################################
62 machine "x86_64" # <intel>
64 makeoptions OSFMK_MACHINE = "x86_64" # <mach>
68 options CONFIG_MCA # Machine Check Architecture # <config_mca>
69 options CONFIG_VMX # Virtual Machine Extensions # <config_vmx>
70 options CONFIG_MTRR # Memory Type Range Registers # <config_mtrr>
72 options NO_NESTED_PMAP # <no_nested_pmap>
74 options HYPERVISOR # Apple hypervisor kext support # <hypervisor>
76 options CONFIG_MACH_APPROXIMATE_TIME