]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/conf/files
xnu-6153.11.26.tar.gz
[apple/xnu.git] / osfmk / conf / files
index 8fedad3620c5d4d8125469c0585ce504e593f49f..4c6f803a06a924f0f5a5e99c6bec6e0935a14e9a 100644 (file)
@@ -1,3 +1,4 @@
+
 #
 # @OSF_COPYRIGHT@
 #
 # the rights to redistribute these changes.
 #
 
-#
-# N.B. "kern/lock.c" is listed as "optional cpus" so that config will
-# create a "cpus.h" file.
-#
-
-OPTIONS/dli                    optional dli
-OPTIONS/etap                   optional etap
-OPTIONS/etap_lock_accumulate   optional etap_lock_accumulate
-OPTIONS/etap_lock_monitor      optional etap_lock_monitor
-OPTIONS/etap_event_monitor     optional etap_event_monitor
-OPTIONS/fast_idle              optional fast_idle
+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/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_lock_mon          optional mach_lock_mon
 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/hw_footprint           optional hw_footprint
-OPTIONS/simple_clock           optional simple_clock
-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/thread_swapper         optional thread_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
@@ -99,31 +84,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
@@ -133,68 +102,102 @@ 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/arcade.c                            optional config_arcade
 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_data.c                 standard
+osfmk/kern/cpu_quiesce.c               optional config_quiesce_counter
 osfmk/kern/debug.c                     standard
+osfmk/kern/ecc_logging.c                       optional config_ecc_logging
+osfmk/kern/energy_perf.c               standard
 osfmk/kern/exception.c         standard
-osfmk/kern/etap.c                      standard
-osfmk/kern/etap_pool.c         optional etap
+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_subsystem.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/ktrace_background_notify.c  standard
 osfmk/kern/ledger.c                    standard
-osfmk/kern/lock.c                      optional cpus
-osfmk/kern/lock_mon.c                  optional mach_lock_mon
-osfmk/kern/mach_clock.c                standard
-osfmk/kern/mach_factor.c               standard
+osfmk/kern/locks.c                     standard
+osfmk/kern/tlock.c                     standard
+osfmk/kern/ltable.c                    standard
+osfmk/kern/mach_node.c                 standard
 osfmk/kern/machine.c                   standard
 osfmk/kern/mk_sp.c                     standard
 osfmk/kern/mk_timer.c          standard
-osfmk/kern/profile.c                   standard
+osfmk/kern/mpsc_queue.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/queue.c                     standard
+osfmk/kern/processor_data.c            standard
+osfmk/kern/restartable.c               standard
+osfmk/kern/sched_average.c             standard
+osfmk/kern/sched_dualq.c       optional config_sched_multiq
+osfmk/kern/sched_clutch.c      optional config_clutch
 osfmk/kern/sched_prim.c                standard
-osfmk/kern/sf.c                        standard
-osfmk/kern/spl.c                       standard
-osfmk/kern/sscanf.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/subsystem.c         standard
 osfmk/kern/sync_lock.c         standard
 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/test_mpsc_queue.c   optional development
+osfmk/kern/test_mpsc_queue.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/thread_pool.c               standard
-osfmk/kern/thread_swap.c       standard
 osfmk/kern/timer.c                     standard
 osfmk/kern/timer_call.c                standard
-osfmk/kern/wait_queue.c                standard
-osfmk/kern/xpr.c                       optional xpr_debug
+osfmk/kern/turnstile.c         standard
+osfmk/kern/ux_handler.c                standard
+osfmk/kern/waitq.c                     standard
+osfmk/kern/work_interval.c             standard
 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         optional hibernation
+osfmk/kern/remote_time.c        standard
+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
@@ -202,45 +205,84 @@ osfmk/kern/bsd_kern.c             optional mach_bsd
 ./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/memory_object_user.c            standard
-./mach/memory_object_server.c          standard
-./mach/memory_object_default_user.c    standard
+./mach/mach_vm_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/restartable_server.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
+./mach/sysdiagnose_notification_user.c optional config_sysdiagnose
+./mach/vfs_nspace_user.c standard
+./mach/fairplayd_notification_user.c optional config_arcade
+./mach/arcade_upcall_user.c optional config_arcade
+./mach/arcade_register_server.c optional config_arcade
+
 #
-# JMM- right now we don't use the MIG-generated client interface
-# for notifications, instead we hand create them. We need to switch
-# when we can (i.e. when we can get the send-always behavior covered
-# even with MIG-generated code).
-# ./mach/notify_user.c                 standard
+# For now, no external pagers
+#
+# ./mach/memory_object_user.c          standard
+# ./mach/memory_object_default_user.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/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
@@ -250,6 +292,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
 
 #
@@ -258,3 +301,49 @@ 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_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/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