X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/3a60a9f5b85abb8c2cf24e1926c5c7b3f608a5e2..d9a64523371fa019c4575bb400cbbc3a50ac9903:/osfmk/conf/files?ds=sidebyside diff --git a/osfmk/conf/files b/osfmk/conf/files index 3a2b613e0..342d24d83 100644 --- a/osfmk/conf/files +++ b/osfmk/conf/files @@ -27,58 +27,56 @@ # the rights to redistribute these changes. # -OPTIONS/dli optional dli +OPTIONS/hibernation optional hibernation +OPTIONS/crypto optional crypto +OPTIONS/encrypted_swap optional encrypted_swap OPTIONS/kdebug optional kdebug OPTIONS/mach_assert optional mach_assert OPTIONS/mach_debug optional mach_debug -OPTIONS/mach_machine_routines.h optional mach_machine_routines -OPTIONS/machine_timer_routines optional machine_timer_routines # -OPTIONS/norma_vm optional norma_vm -OPTIONS/norma_task optional norma_task -OPTIONS/norma_ether optional norma_ether -OPTIONS/norma_scsi optional norma_scsi OPTIONS/mach_cluster_stats optional mach_cluster_stats OPTIONS/mach_counters optional mach_counters -OPTIONS/mach_host optional mach_host +OPTIONS/mach_flipc optional mach_flipc OPTIONS/mach_ipc_debug optional mach_ipc_debug OPTIONS/mach_ipc_test optional mach_ipc_test -OPTIONS/mach_kdb optional mach_kdb -OPTIONS/mach_kgdb optional mach_kgdb OPTIONS/mach_kdp optional mach_kdp +OPTIONS/config_serial_kdp optional config_serial_kdp OPTIONS/mach_kprof optional mach_kprof OPTIONS/mach_ldebug optional mach_ldebug OPTIONS/mach_mp_debug optional mach_mp_debug OPTIONS/mach_pagemap optional mach_pagemap -OPTIONS/mach_prof optional mach_prof -OPTIONS/mach_rt optional mach_rt -OPTIONS/advisory_pageout optional advisory_pageout -# -# MACH_RT is real-time. MACH_TR is debugging. -# Unfortunate choice of letters. -# -OPTIONS/mach_tr optional mach_tr OPTIONS/mach_vm_debug optional mach_vm_debug OPTIONS/mach_page_hash_stats optional mach_page_hash_stats OPTIONS/mig_debug optional mig_debug -OPTIONS/stat_time optional stat_time -OPTIONS/time_stamp optional time_stamp OPTIONS/xpr_debug optional xpr_debug -OPTIONS/bootstrap_symbols optional bootstrap_symbols -OPTIONS/fast_tas optional fast_tas -OPTIONS/power_save optional power_save OPTIONS/zone_debug optional zone_debug OPTIONS/vm_cpm optional vm_cpm OPTIONS/task_swapper optional task_swapper OPTIONS/stack_usage optional stack_usage +OPTIONS/importance_inheritance optional importance_inheritance +OPTIONS/importance_debug optional importance_debug +OPTIONS/config_ecc_logging optional config_ecc_logging + +OPTIONS/config_dtrace optional config_dtrace + +OPTIONS/no_kextd optional no_kextd -# Default pager and system pager files, to be moved to separate component - -osfmk/default_pager/default_pager.c standard -osfmk/default_pager/dp_backing_store.c standard -osfmk/default_pager/dp_memory_object.c standard -./default_pager/default_pager_alerts_user.c standard -./default_pager/default_pager_object_server.c standard +OPTIONS/config_quiesce_counter optional config_quiesce_counter + +# +# gssd files +# +./gssd/gssd_mach.c standard + +# +# lockd files +# +./lockd/lockd_mach.c standard + +# +# kextd files +# +./kextd/kextd_mach.c optional not no_kextd # # UserNotification files @@ -87,31 +85,15 @@ osfmk/default_pager/dp_memory_object.c standard ./UserNotification/UNDReplyServer.c standard osfmk/UserNotification/KUNCUserNotifications.c standard -osfmk/ddb/db_access.c optional mach_kdb -osfmk/ddb/db_break.c optional mach_kdb -osfmk/ddb/db_command.c optional mach_kdb -osfmk/ddb/db_cond.c optional mach_kdb -osfmk/ddb/db_examine.c optional mach_kdb -osfmk/ddb/db_expr.c optional mach_kdb -osfmk/ddb/db_ext_symtab.c standard -osfmk/ddb/db_input.c optional mach_kdb -osfmk/ddb/db_lex.c optional mach_kdb -osfmk/ddb/db_macro.c optional mach_kdb -osfmk/ddb/db_output.c optional mach_kdb -osfmk/ddb/db_print.c optional mach_kdb -osfmk/ddb/db_run.c optional mach_kdb -osfmk/ddb/db_sym.c optional mach_kdb -osfmk/ddb/db_task_thread.c optional mach_kdb -osfmk/ddb/db_trap.c optional mach_kdb -osfmk/ddb/db_variables.c optional mach_kdb -osfmk/ddb/db_watch.c optional mach_kdb -osfmk/ddb/db_write_cmd.c optional mach_kdb - -osfmk/ddb/tr.c optional mach_tr -osfmk/kdp/kdp.c optional mach_kdp +osfmk/kdp/kdp.c optional config_kdp_interactive_debugging +osfmk/kern/kern_stackshot.c standard osfmk/kdp/kdp_udp.c optional mach_kdp +osfmk/kdp/kdp_core.c optional mach_kdp +osfmk/kdp/processor_core.c optional mach_kdp +osfmk/kdp/kdp_serial.c optional config_serial_kdp osfmk/ipc/ipc_entry.c standard osfmk/ipc/ipc_hash.c standard +osfmk/ipc/ipc_importance.c optional importance_inheritance osfmk/ipc/ipc_init.c standard osfmk/ipc/ipc_kmsg.c standard osfmk/ipc/ipc_mqueue.c standard @@ -121,40 +103,62 @@ osfmk/ipc/ipc_port.c standard osfmk/ipc/ipc_pset.c standard osfmk/ipc/ipc_right.c standard osfmk/ipc/ipc_space.c standard -osfmk/ipc/ipc_splay.c standard osfmk/ipc/ipc_table.c standard +osfmk/ipc/ipc_voucher.c standard +osfmk/ipc/flipc.c optional mach_flipc osfmk/ipc/mach_debug.c standard +osfmk/ipc/mach_kernelrpc.c standard osfmk/ipc/mach_msg.c standard osfmk/ipc/mach_port.c standard osfmk/ipc/mig_log.c optional mig_debug +osfmk/kern/affinity.c standard osfmk/kern/ast.c standard +osfmk/kern/audit_sessionport.c optional config_audit +osfmk/kern/backtrace.c standard +osfmk/kern/btlog.c standard +osfmk/kern/build_config.c standard osfmk/kern/clock.c standard +osfmk/kern/clock_oldops.c standard +osfmk/kern/coalition.c optional config_coalitions osfmk/kern/counters.c standard +osfmk/kern/cpu_quiesce.c optional config_quiesce_counter osfmk/kern/debug.c standard +osfmk/kern/energy_perf.c standard osfmk/kern/exception.c standard +osfmk/kern/extmod_statistics.c standard osfmk/kern/host.c standard osfmk/kern/host_notify.c standard osfmk/kern/ipc_clock.c standard osfmk/kern/ipc_host.c standard osfmk/kern/ipc_kobject.c standard osfmk/kern/ipc_mig.c standard +osfmk/kern/ipc_misc.c standard osfmk/kern/ipc_sync.c standard osfmk/kern/ipc_tt.c standard osfmk/kern/kalloc.c standard +osfmk/kern/ecc_logging.c optional config_ecc_logging +osfmk/kern/ktrace_background_notify.c standard osfmk/kern/ledger.c standard osfmk/kern/locks.c standard -osfmk/kern/mach_clock.c standard +osfmk/kern/ltable.c standard osfmk/kern/machine.c standard +osfmk/kern/mach_node.c standard osfmk/kern/mk_sp.c standard osfmk/kern/mk_timer.c standard -osfmk/kern/profile.c standard +osfmk/kern/page_decrypt.c standard osfmk/kern/printf.c standard osfmk/kern/priority.c standard +osfmk/kern/priority_queue.c standard osfmk/kern/processor.c standard osfmk/kern/processor_data.c standard -osfmk/kern/queue.c standard osfmk/kern/sched_average.c standard +osfmk/kern/sched_dualq.c optional config_sched_multiq osfmk/kern/sched_prim.c standard +osfmk/kern/sched_proto.c optional config_sched_proto +osfmk/kern/sched_traditional.c optional config_sched_traditional +osfmk/kern/sched_grrr.c optional config_sched_grrr_core +osfmk/kern/sched_multiq.c optional config_sched_multiq +osfmk/kern/sfi.c standard osfmk/kern/stack.c standard osfmk/kern/startup.c standard osfmk/kern/sync_lock.c standard @@ -162,20 +166,32 @@ osfmk/kern/sync_sema.c standard osfmk/kern/syscall_emulation.c standard osfmk/kern/syscall_subr.c standard osfmk/kern/syscall_sw.c standard +osfmk/kern/sysdiagnose.c optional config_sysdiagnose osfmk/kern/task.c standard osfmk/kern/task_policy.c standard osfmk/kern/task_swap.c standard +osfmk/kern/test_lock.c optional development +osfmk/kern/test_lock.c optional debug osfmk/kern/thread.c standard osfmk/kern/thread_act.c standard osfmk/kern/thread_call.c standard +osfmk/kern/thread_group.c standard osfmk/kern/thread_policy.c standard osfmk/kern/timer.c standard osfmk/kern/timer_call.c standard -osfmk/kern/wait_queue.c standard +osfmk/kern/turnstile.c standard +osfmk/kern/ux_handler.c standard +osfmk/kern/waitq.c standard +osfmk/kern/work_interval.c standard osfmk/kern/xpr.c optional xpr_debug osfmk/kern/zalloc.c standard +osfmk/kern/zcache.c optional config_zcache +osfmk/kern/gzalloc.c optional config_gzalloc osfmk/kern/bsd_kern.c optional mach_bsd -osfmk/kern/hibernate.c standard +osfmk/kern/hibernate.c optional hibernation +osfmk/kern/memset_s.c standard +osfmk/kern/copyout_shim.c optional copyout_shim + ./mach/clock_server.c standard ./mach/clock_priv_server.c standard ./mach/clock_reply_user.c standard @@ -183,18 +199,39 @@ osfmk/kern/hibernate.c standard ./mach/exc_server.c optional mach_bsd ./mach/host_priv_server.c standard ./mach/host_security_server.c standard -./mach/ledger_server.c standard +./mach/ktrace_background_user.c standard ./mach/lock_set_server.c standard +./mach/mach_exc_user.c standard +./mach/mach_exc_server.c optional mach_bsd ./mach/mach_host_server.c standard ./mach/mach_notify_user.c standard ./mach/mach_port_server.c standard ./mach/mach_vm_server.c standard -./mach/memory_object_server.c standard +./mach/mach_voucher_server.c standard +./mach/mach_voucher_attr_control_server.c standard +./mach/memory_entry_server.c standard ./mach/memory_object_control_server.c standard -./mach/memory_object_default_server.c standard -./mach/memory_object_name_server.c standard +./mach/resource_notify_user.c standard ./mach/upl_server.c standard ./mach/audit_triggers_user.c standard +./mach/task_access_user.c standard +osfmk/corpses/corpse.c standard +osfmk/kern/kern_cdata.c standard +osfmk/tests/kernel_tests.c optional config_xnupost +osfmk/tests/ktest.c optional config_xnupost +osfmk/tests/ktest_accessor.c optional config_xnupost +osfmk/tests/ktest_emit.c optional config_xnupost +osfmk/tests/ktest_global.c optional config_xnupost +osfmk/tests/pmap_tests.c optional config_xnupost +osfmk/tests/bitmap_test.c optional config_xnupost +osfmk/tests/test_thread_call.c optional config_xnupost +./mach/telemetry_notification_user.c optional config_telemetry +osfmk/bank/bank.c standard +osfmk/atm/atm.c optional config_atm +./atm/atm_notification_user.c optional config_atm +osfmk/voucher/ipc_pthread_priority.c standard +./mach/coalition_notification_user.c optional config_coalitions +./mach/sysdiagnose_notification_user.c optional config_sysdiagnose # # For now, no external pagers # @@ -203,27 +240,36 @@ osfmk/kern/hibernate.c standard # ./mach/processor_server.c standard ./mach/processor_set_server.c standard -./mach/prof_user.c optional mach_prof -./mach/semaphore_server.c standard ./mach/task_server.c standard ./mach/thread_act_server.c standard -./mach/vm_map_server.c standard -osfmk/mach-o/mach_header.c standard +./mach/vm32_map_server.c standard + +osfmk/vm/bsd_vm.c optional mach_bsd +osfmk/vm/vm_compressor.c standard +osfmk/vm/vm_compressor_pager.c standard +osfmk/vm/vm_compressor_backing_store.c standard +osfmk/vm/vm_compressor_algorithms.c standard +osfmk/vm/lz4.c standard +osfmk/vm/vm_phantom_cache.c optional config_phantom_cache osfmk/vm/device_vm.c standard osfmk/vm/memory_object.c standard -osfmk/vm/task_working_set.c standard osfmk/vm/vm_debug.c standard -osfmk/vm/vm_external.c optional mach_pagemap osfmk/vm/vm_fault.c standard osfmk/vm/vm_init.c standard osfmk/vm/vm_kern.c standard osfmk/vm/vm_map.c standard +osfmk/vm/vm_map_store.c standard +osfmk/vm/vm_map_store_ll.c standard +osfmk/vm/vm_map_store_rb.c standard osfmk/vm/vm_object.c standard osfmk/vm/vm_pageout.c standard -osfmk/vm/vm_resident.c standard -osfmk/vm/vm_shared_memory_server.c standard +osfmk/vm/vm_purgeable.c standard +osfmk/vm/vm_resident.c standard +osfmk/vm/vm_shared_region.c standard +osfmk/vm/vm_shared_region_pager.c standard +osfmk/vm/vm_swapfile_pager.c standard osfmk/vm/vm_user.c standard -osfmk/vm/bsd_vm.c optional mach_bsd +osfmk/vm/vm32_user.c standard # # IOKit files, for a while @@ -233,6 +279,7 @@ osfmk/device/iokit_rpc.c optional iokit osfmk/device/device_init.c optional iokit # kernel module loader interface +osfmk/kern/kext_alloc.c standard osfmk/kern/kmod.c standard # @@ -241,3 +288,51 @@ osfmk/kern/kmod.c standard # funcs). # osfmk/device/subrs.c standard + +# Kernel performance monitoring +osfmk/kperf/kperf.c optional kperf +osfmk/kperf/action.c optional kperf +osfmk/kperf/callstack.c optional kperf +osfmk/kperf/pet.c optional kperf +osfmk/kperf/thread_samplers.c optional kperf +osfmk/kperf/task_samplers.c optional kperf +osfmk/kperf/meminfo.c optional kperf +osfmk/kperf/kperf_timer.c optional kperf +osfmk/kperf/kperf_kpc.c optional kperf +osfmk/kperf/kdebug_trigger.c optional kperf +osfmk/kperf/lazy.c optional kperf +osfmk/kern/kpc_thread.c optional kpc +osfmk/kern/kpc_common.c optional kpc + +osfmk/kern/kern_monotonic.c optional monotonic + +osfmk/console/serial_general.c standard +osfmk/console/serial_console.c optional serial_console +osfmk/console/video_scroll.c optional video_console +osfmk/console/video_console.c optional video_console + + +osfmk/kern/telemetry.c optional config_telemetry + +# Built-in corecrypto for early_random(): +osfmk/corecrypto/cc/src/cc_clear.c standard +osfmk/corecrypto/cc/src/cc_cmp_safe.c standard +osfmk/corecrypto/cc/src/cc_try_abort.c standard +osfmk/corecrypto/ccdbrg/src/ccdrbg_nisthmac.c standard +osfmk/corecrypto/ccdigest/src/ccdigest_init.c standard +osfmk/corecrypto/ccdigest/src/ccdigest_update.c standard +osfmk/corecrypto/cchmac/src/cchmac.c standard +osfmk/corecrypto/cchmac/src/cchmac_init.c standard +osfmk/corecrypto/cchmac/src/cchmac_update.c standard +osfmk/corecrypto/cchmac/src/cchmac_final.c standard +osfmk/corecrypto/ccsha1/src/ccdigest_final_64be.c standard +osfmk/corecrypto/ccsha1/src/ccsha1_eay.c standard +osfmk/corecrypto/ccsha1/src/ccsha1_initial_state.c standard + +osfmk/corecrypto/ccsha2/src/ccsha256_di.c standard +osfmk/corecrypto/ccsha2/src/ccsha256_initial_state.c standard +osfmk/corecrypto/ccsha2/src/ccsha256_K.c standard +osfmk/corecrypto/ccsha2/src/ccsha256_ltc_compress.c standard +osfmk/corecrypto/ccsha2/src/ccsha256_ltc_di.c standard + +osfmk/prng/prng_random.c standard