1*27b03b36SApple OSS Distributions# 2*27b03b36SApple OSS Distributions# Mach Operating System 3*27b03b36SApple OSS Distributions# Copyright (c) 1986 Carnegie-Mellon University 4*27b03b36SApple OSS Distributions# Copyright 2001-2018 Apple Inc. 5*27b03b36SApple OSS Distributions# 6*27b03b36SApple OSS Distributions# All rights reserved. The CMU software License Agreement 7*27b03b36SApple OSS Distributions# specifies the terms and conditions for use and redistribution. 8*27b03b36SApple OSS Distributions# 9*27b03b36SApple OSS Distributions###################################################################### 10*27b03b36SApple OSS Distributions# 11*27b03b36SApple OSS Distributions# Master Apple configuration file (see the master machine independent 12*27b03b36SApple OSS Distributions# configuration file for a description of the file format). 13*27b03b36SApple OSS Distributions# 14*27b03b36SApple OSS Distributions###################################################################### 15*27b03b36SApple OSS Distributions# 16*27b03b36SApple OSS Distributions# Standard Apple OS Configurations: 17*27b03b36SApple OSS Distributions# -------- ----- -- --------------- 18*27b03b36SApple OSS Distributions# 19*27b03b36SApple OSS Distributions# KERNEL_BASE = [ intel medium msgb_large config_requires_u32_munging config_delay_idle_sleep config_proc_udata_storage vsprintf ] 20*27b03b36SApple OSS Distributions# KERNEL_RELEASE = [ KERNEL_BASE ] 21*27b03b36SApple OSS Distributions# KERNEL_DEV = [ KERNEL_BASE development mach_assert config_xnupost proc_ref_debug config_proc_resource_limits ] 22*27b03b36SApple OSS Distributions# KERNEL_DEBUG = [ KERNEL_BASE debug mach_assert config_xnupost config_waitq_stats config_workloop_debug config_proc_resource_limits ] 23*27b03b36SApple OSS Distributions# BSD_BASE = [ mach_bsd sysv_sem sysv_msg sysv_shm config_netboot config_imageboot config_imageboot_chunklist config_workqueue psynch config_proc_uuid_policy config_coredump pgo config_32bit_telemetry config_personas ] 24*27b03b36SApple OSS Distributions# BSD_RELEASE = [ BSD_BASE ] 25*27b03b36SApple OSS Distributions# BSD_DEV = [ BSD_BASE config_vnguard ] 26*27b03b36SApple OSS Distributions# BSD_DEBUG = [ BSD_BASE config_vnguard ] 27*27b03b36SApple OSS Distributions# FILESYS_BASE = [ devfs fdesc config_dev_kmem config_fse quota namedstreams config_mnt_rootsnap config_rosv_startup config_mount_vm config_mount_prebootrecovery config_basesystemroot 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 config_firmlinks config_dataless_files config_union_mounts bindfs] 28*27b03b36SApple OSS Distributions# FILESYS_RELEASE= [ FILESYS_BASE ] 29*27b03b36SApple OSS Distributions# FILESYS_DEV = [ FILESYS_BASE config_iocount_trace ] 30*27b03b36SApple OSS Distributions# FILESYS_DEBUG = [ FILESYS_BASE config_iocount_trace ] 31*27b03b36SApple OSS Distributions# NFS = [ nfsclient nfsserver config_nfs4 config_nfs_gss ] 32*27b03b36SApple OSS Distributions# SKYWALK_BASE = [ skywalk config_nexus_user_pipe config_nexus_kernel_pipe config_nexus_monitor config_nexus_flowswitch config_nexus_netif ] 33*27b03b36SApple OSS Distributions# SKYWALK_RELEASE = [ SKYWALK_BASE ] 34*27b03b36SApple OSS Distributions# SKYWALK_DEV = [ SKYWALK_BASE ] 35*27b03b36SApple OSS Distributions# SKYWALK_DEBUG = [ SKYWALK_BASE ] 36*27b03b36SApple OSS Distributions# NETWORKING = [ inet bpfilter dummynet traffic_mgt sendfile ah_all_crypto bond vlan gif stf ifnet_input_chk config_mbuf_jumbo if_bridge MULTIPATH if_fake remote_vif ] 37*27b03b36SApple OSS Distributions# NETWORKING_RELEASE = [ NETWORKING ] 38*27b03b36SApple OSS Distributions# NETWORKING_DEV = [ NETWORKING_RELEASE packet_mangler if_headless sixlowpan ] 39*27b03b36SApple OSS Distributions# NETWORKING_DEBUG = [ NETWORKING_DEV ] 40*27b03b36SApple OSS Distributions# VPN = [ ipsec flow_divert necp content_filter ] 41*27b03b36SApple OSS Distributions# PF = [ pf pflog ] 42*27b03b36SApple OSS Distributions# MULTIPATH = [ multipath mptcp ] 43*27b03b36SApple OSS Distributions# IOKIT_BASE = [ iokit iokitcpp hibernation config_sleep iokitstats hypervisor ] 44*27b03b36SApple OSS Distributions# IOKIT_RELEASE = [ IOKIT_BASE ] 45*27b03b36SApple OSS Distributions# IOKIT_DEV = [ IOKIT_BASE iotracking ] 46*27b03b36SApple OSS Distributions# IOKIT_DEBUG = [ IOKIT_BASE iotracking ] 47*27b03b36SApple OSS Distributions# LIBKERN_BASE = [ libkerncpp config_blocks config_kec_fips crypto_sha2 config_img4 ] 48*27b03b36SApple OSS Distributions# LIBKERN_RELEASE =[ LIBKERN_BASE zlib ] 49*27b03b36SApple OSS Distributions# LIBKERN_DEV = [ LIBKERN_BASE zlib iotracking ] 50*27b03b36SApple OSS Distributions# LIBKERN_DEBUG = [ LIBKERN_BASE zlib iotracking ] 51*27b03b36SApple OSS Distributions# PERF_DBG_BASE = [ config_dtrace mach_kdp config_serial_kdp kdp_interactive_debugging config_kdp_coredump_encryption kperf kpc zleaks MONOTONIC_BASE ] 52*27b03b36SApple OSS Distributions# PERF_DBG_RELEASE=[ PERF_DBG_BASE ] 53*27b03b36SApple OSS Distributions# PERF_DBG_DEV =[ PERF_DBG_BASE lock_stats ] 54*27b03b36SApple OSS Distributions# PERF_DBG_DEBUG = [ PERF_DBG_BASE lock_stats ] 55*27b03b36SApple OSS Distributions# MACH_BASE = [ mach config_kext_basement mdebug ipc_debug ipc_lockfree_space 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 phys_write_acct config_user_notification config_service_port_info config_voucher_deprecated ] 56*27b03b36SApple OSS Distributions# MACH_RELEASE = [ MACH_BASE ] 57*27b03b36SApple OSS Distributions# MACH_DEV = [ MACH_BASE task_zone_info importance_trace config_ledger_interval_max ] 58*27b03b36SApple OSS Distributions# MACH_DEBUG = [ MACH_BASE task_zone_info importance_trace config_ledger_interval_max importance_debug ] 59*27b03b36SApple OSS Distributions# SCHED_BASE = [ config_sched_traditional config_sched_multiq config_sched_sfi ] 60*27b03b36SApple OSS Distributions# SCHED_RELEASE = [ SCHED_BASE ] 61*27b03b36SApple OSS Distributions# SCHED_DEV = [ SCHED_BASE ] 62*27b03b36SApple OSS Distributions# SCHED_DEBUG = [ SCHED_BASE config_sched_grrr config_sched_proto ] 63*27b03b36SApple OSS Distributions# VM_BASE = [ vm_pressure_events memorystatus dynamic_codesigning config_code_decryption encrypted_swap config_background_queue ] 64*27b03b36SApple OSS Distributions# VM_DEBUG = [ VM_BASE pgzalloc config_gzalloc ] 65*27b03b36SApple OSS Distributions# VM_DEV = [ VM_BASE pgzalloc config_gzalloc ] 66*27b03b36SApple OSS Distributions# VM_RELEASE = [ VM_BASE pgzalloc config_gzalloc ] 67*27b03b36SApple OSS Distributions# VM_KASAN = [ VM_BASE config_kasan config_ubsan config_kcov config_ksancov ] 68*27b03b36SApple OSS Distributions# SECURITY = [ config_macf config_audit config_csr config_arcade config_setuid config_kas_info ] 69*27b03b36SApple OSS Distributions# BASE = [ PF VPN SECURITY NFS ] 70*27b03b36SApple OSS Distributions# RELEASE = [ BASE KERNEL_RELEASE BSD_RELEASE FILESYS_RELEASE SKYWALK_RELEASE NETWORKING_RELEASE IOKIT_RELEASE LIBKERN_RELEASE PERF_DBG_RELEASE MACH_RELEASE SCHED_RELEASE VM_RELEASE ] 71*27b03b36SApple OSS Distributions# DEVELOPMENT = [ BASE KERNEL_DEV BSD_DEV FILESYS_DEV SKYWALK_DEV NETWORKING_DEV IOKIT_DEV LIBKERN_DEV PERF_DBG_DEV MACH_DEV SCHED_DEV VM_DEV ] 72*27b03b36SApple OSS Distributions# DEBUG = [ BASE KERNEL_DEBUG BSD_DEBUG FILESYS_DEBUG SKYWALK_DEBUG NETWORKING_DEBUG IOKIT_DEBUG LIBKERN_DEBUG PERF_DBG_DEBUG MACH_DEBUG SCHED_DEBUG VM_DEBUG ] 73*27b03b36SApple OSS Distributions# KASAN = [ BASE KERNEL_DEV BSD_DEV FILESYS_DEV SKYWALK_DEV NETWORKING_DEV IOKIT_DEV LIBKERN_DEV PERF_DBG_DEV MACH_DEV SCHED_DEV VM_KASAN ] 74*27b03b36SApple OSS Distributions# 75*27b03b36SApple OSS Distributions###################################################################### 76*27b03b36SApple OSS Distributions# 77*27b03b36SApple OSS Distributionsmachine "x86_64" # <intel> 78*27b03b36SApple OSS Distributions 79*27b03b36SApple OSS Distributionsmakeoptions OSFMK_MACHINE = "x86_64" # <mach> 80*27b03b36SApple OSS Distributions 81*27b03b36SApple OSS Distributionsoptions PAL_I386 82*27b03b36SApple OSS Distributions 83*27b03b36SApple OSS Distributionsoptions CONFIG_MCA # Machine Check Architecture # <config_mca> 84*27b03b36SApple OSS Distributionsoptions CONFIG_VMX # Virtual Machine Extensions # <config_vmx> 85*27b03b36SApple OSS Distributionsoptions CONFIG_MTRR # Memory Type Range Registers # <config_mtrr> 86*27b03b36SApple OSS Distributionsoptions CONFIG_MACF_LAZY_VNODE_LABELS # Turn on labels, don't preallocate 87*27b03b36SApple OSS Distributions 88*27b03b36SApple OSS Distributionsoptions NO_NESTED_PMAP # <no_nested_pmap> 89*27b03b36SApple OSS Distributions 90*27b03b36SApple OSS Distributionsoptions HYPERVISOR # Apple hypervisor kext support # <hypervisor> 91*27b03b36SApple OSS Distributions 92*27b03b36SApple OSS Distributionsoptions CONFIG_MACH_APPROXIMATE_TIME 93