X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6d2010ae8f7a6078e10b361c6962983bab233e0f..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/conf/MASTER?ds=sidebyside diff --git a/osfmk/conf/MASTER b/osfmk/conf/MASTER index e34f671cb..f3dd6fcc8 100644 --- a/osfmk/conf/MASTER +++ b/osfmk/conf/MASTER @@ -113,6 +113,18 @@ options CONFIG_ZLEAKS # Live zone leak debugging # # options ZONE_ALIAS_ADDR # # + + +# +# CONFIG_TASK_ZONE_INFO allows per-task zone information to be extracted +# Primarily useful for xnu debug and development. +# +options CONFIG_TASK_ZONE_INFO # +# +# CONFIG_DEBUGGER_FOR_ZONE_INFO restricts zone info so that it is only +# available when the kernel is being debugged. +# +options CONFIG_DEBUGGER_FOR_ZONE_INFO # # # XPR_DEBUG enables the gathering of data through the XPR macros inserted # into various subsystems. This option is normally only enabled for @@ -130,9 +142,11 @@ options XPR_DEBUG # # options MACH_LDEBUG # # # -# +# configuration option for full, partial, or no kernel debug event tracing # -options KDEBUG # kernel tracing # +options KDEBUG # kernel tracing # +options IST_KDEBUG # limited tracing # +options NO_KDEBUG # no kernel tracing # # # CONFIG_DTRACE enables code needed to support DTrace. Currently this is @@ -144,6 +158,9 @@ options CONFIG_DTRACE # # # options MACH_COUNTERS # # +# DEVELOPMENT define for development builds +options DEVELOPMENT # dev kernel # + ########################################################## # # This defines configuration options that are normally used only during @@ -193,6 +210,11 @@ options HIBERNATION # # # options CONFIG_SLEEP # # +# CONFIG_KEXT_BASEMENT - alloc post boot loaded kexts after prelinked kexts +# +options CONFIG_KEXT_BASEMENT # # + + # # configurable kernel related resources (CONFIG_THREAD_MAX needs to stay in # sync with bsd/conf/MASTER until we fix the config system... todo XXX @@ -209,6 +231,13 @@ options CONFIG_ZONE_MAP_MIN=12582912 # options CONFIG_ZONE_MAP_MIN=6291456 # options CONFIG_ZONE_MAP_MIN=1048576 # +# Sizes must be a power of two for the zhash to +# be able to just mask off bits instead of mod +options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=16384 # +options CONFIG_ZLEAK_ALLOCATION_MAP_NUM=8192 # +options CONFIG_ZLEAK_TRACE_MAP_NUM=8192 # +options CONFIG_ZLEAK_TRACE_MAP_NUM=4096 # + # # configurable kernel - use these options to strip strings from panic # and printf calls. @@ -219,16 +248,6 @@ options CONFIG_NO_PANIC_STRINGS # options CONFIG_NO_PRINTF_STRINGS # options CONFIG_NO_KPRINTF_STRINGS # -# configurable kernel - general switch to say we are building for an -# embedded device -# -options CONFIG_EMBEDDED # - -# only execute signed code. Hang this off config_embedded since there's -# nothing more appropriate right now -# -options CONFIG_ENFORCE_SIGNED_CODE # - # support dynamic signing of code # options CONFIG_DYNAMIC_CODE_SIGNING # @@ -239,12 +258,6 @@ options CONFIG_VC_PROGRESS_WHITE # # secure_kernel - secure kernel from user programs options SECURE_KERNEL # -# -# code decryption... used on embedded for app protection -# must be set in all the bsd/conf and osfmk/conf MASTER files -# -options CONFIG_CODE_DECRYPTION # - # # Context switched counters # @@ -260,12 +273,50 @@ options CONFIG_SCHED_FIXEDPRIORITY # options CONFIG_SCHED_GRRR_CORE # options CONFIG_SCHED_IDLE_IN_PLACE # +options CONFIG_GZALLOC # +# +# enable per-process memory priority tracking +# +options CONFIG_MEMORYSTATUS # # -# freeze - support app hibernation, used on embedded +# enable jetsam - used on embedded # -options CONFIG_FREEZE # +options CONFIG_JETSAM # +# +# enable freezing of suspended processes - used on embedded +# +options CONFIG_FREEZE # options CHECK_CS_VALIDATION_BITMAP # +# +# Enable dispatch of memory pressure events from the vm_pageout_garbage_collect thread +# +options VM_PRESSURE_EVENTS # + +# +# Enable inheritance of importance through specially marked mach ports and for file locks +# For now debug is enabled wherever inheritance is +# +options IMPORTANCE_INHERITANCE # +options IMPORTANCE_DEBUG # + +# Enable allocation of contiguous physical memory through vm_map_enter_cpm() +options VM_CPM # + +options CONFIG_SKIP_PRECISE_USER_KERNEL_TIME # + +options CONFIG_TELEMETRY # + +# +# Switch to disable cpu, wakeup and high memory watermark monitors +# +options CONFIG_NOMONITORS # + +# +# In-kernel tests +# +options CONFIG_IN_KERNEL_TESTS # +