X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0b4e3aa066abc0728aacb4bbeb86f53f9737156e..2d21ac55c334faf3a56e5634905ed6987fc787d4:/osfmk/mach/Makefile diff --git a/osfmk/mach/Makefile b/osfmk/mach/Makefile index 697fcae44..e2f2f2de7 100644 --- a/osfmk/mach/Makefile +++ b/osfmk/mach/Makefile @@ -13,6 +13,9 @@ INSTINC_SUBDIRS = \ INSTINC_SUBDIRS_PPC = \ ppc +INSTINC_SUBDIRS_ARM = \ + arm + INSTINC_SUBDIRS_I386 = \ i386 @@ -25,50 +28,62 @@ EXPINC_SUBDIRS_PPC = \ EXPINC_SUBDIRS_I386 = \ i386 +EXPINC_SUBDIRS_ARM = \ + arm + MIG_TYPES = \ clock_types.defs \ mach_types.defs \ std_types.defs MIG_DEFS = \ - bootstrap.defs \ + audit_triggers.defs \ clock.defs \ clock_priv.defs \ clock_reply.defs \ exc.defs \ + host_notify_reply.defs \ host_priv.defs \ host_security.defs \ ledger.defs \ lock_set.defs \ + mach_exc.defs \ mach_host.defs \ mach_port.defs \ + mach_vm.defs \ notify.defs \ processor.defs \ processor_set.defs \ + security.defs \ task.defs \ + task_access.defs \ thread_act.defs \ - vm_map.defs \ - upl.defs + vm_map.defs + MACH_PRIVATE_DEFS = \ + mach_notify.defs \ memory_object.defs \ memory_object_control.defs \ memory_object_default.defs \ - memory_object_name.defs + memory_object_name.defs \ + upl.defs # # MIG-generated headers that are traditionally used by user # level code. # MIG_USHDRS = \ + audit_triggers_server.h \ clock_reply_server.h \ exc_server.h \ + mach_exc_server.h \ memory_object_server.h \ memory_object_default_server.h \ - notify_server.h + notify_server.h \ + task_access_server.h MIG_UUHDRS = \ - bootstrap.h \ clock.h \ clock_priv.h \ host_priv.h \ @@ -77,11 +92,14 @@ MIG_UUHDRS = \ lock_set.h \ mach_host.h \ mach_port.h \ + mach_vm.h \ memory_object_control.h \ memory_object_name.h \ processor.h \ processor_set.h \ + security.h \ task.h \ + task_access.h \ thread_act.h \ upl.h \ vm_map.h @@ -90,16 +108,16 @@ MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS} DATAFILES = \ boolean.h \ - boot_info.h \ clock_types.h \ error.h \ exception.h \ exception_types.h \ + host_notify.h \ host_info.h \ host_reboot.h \ + host_special_ports.h \ kern_return.h \ kmod.h \ - mach_ioctl.h \ mach_param.h \ mach_time.h \ mach_traps.h \ @@ -110,15 +128,16 @@ DATAFILES = \ message.h \ mig.h \ mig_errors.h \ - mig_log.h \ ndr.h \ notify.h \ policy.h \ port.h \ processor_info.h \ rpc.h \ + sdt.h \ semaphore.h \ shared_memory_server.h \ + shared_region.h \ std_types.h \ sync_policy.h \ syscall_sw.h \ @@ -137,6 +156,7 @@ DATAFILES = \ vm_inherit.h \ vm_param.h \ vm_prot.h \ + vm_purgable.h \ vm_region.h \ vm_statistics.h \ vm_sync.h \ @@ -145,15 +165,23 @@ DATAFILES = \ ${MIG_DEFS} INSTALL_MI_LIST = \ + bootstrap.h \ ${DATAFILES} +INSTALL_KF_MI_LIST = \ + mach_interface.h \ + $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES}) + +INSTALL_KF_MI_LCL_LIST = \ + mach_interface.h \ + $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES}) + INSTALL_MI_GEN_LIST = INSTALL_MI_DIR = mach EXPORT_MI_LIST = \ mach_interface.h \ - etap.h etap_events.h \ ${DATAFILES} EXPORT_MI_GEN_LIST = \ @@ -169,7 +197,8 @@ ${MIGINCLUDES} : ${MIG_TYPES} ${MIG_UUHDRS} : \ %.h : %.defs - $(MIG) $(MIGFLAGS) \ + @echo MIG $@ + $(_v)$(MIG) $(MIGFLAGS) \ -server /dev/null \ -user /dev/null \ -header $@ \ @@ -179,7 +208,8 @@ ${MIG_UUHDRS} : \ ${MIG_USHDRS} : \ %_server.h : %.defs - $(MIG) $(MIGFLAGS) \ + @echo MIG $@ + $(_v)$(MIG) $(MIGFLAGS) \ -server /dev/null \ -user /dev/null \ -header /dev/null \ @@ -201,20 +231,30 @@ MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 # level code. # MIG_KUHDRS = \ + audit_triggers.h \ clock_reply.h \ exc.h \ + host_notify_reply.h \ + mach_exc.h \ + mach_notify.h \ memory_object.h \ memory_object_control.h \ memory_object_default.h \ + task_access.h \ upl.h \ vm_map.h MIG_KUSRC = \ + audit_triggers_user.c \ clock_reply_user.c \ exc_user.c \ + host_notify_reply_user.c \ + mach_exc_user.c \ + mach_notify_user.c \ memory_object_user.c \ memory_object_control_user.c \ memory_object_default_user.c \ + task_access_user.c \ upl_user.c \ vm_map_user.c @@ -226,15 +266,18 @@ MIG_KSHDRS = \ host_security_server.h \ ledger_server.h \ lock_set_server.h \ + mach_exc_server.h \ mach_host_server.h \ + mach_notify_server.h \ mach_port_server.h \ + mach_vm_server.h \ memory_object_server.h \ memory_object_control_server.h \ memory_object_default_server.h \ memory_object_name_server.h \ - notify_server.h \ processor_server.h \ processor_set_server.h \ + security_server.h \ semaphore_server.h \ task_server.h \ thread_act_server.h \ @@ -249,15 +292,18 @@ MIG_KSSRC = \ host_security_server.c \ ledger_server.c \ lock_set_server.c \ + mach_exc_server.c \ mach_host_server.c \ + mach_notify_server.c \ mach_port_server.c \ + mach_vm_server.c \ memory_object_server.c \ memory_object_control_server.c \ memory_object_default_server.c \ memory_object_name_server.c \ - notify_server.c \ processor_server.c \ processor_set_server.c \ + security_server.c \ semaphore_server.c \ task_server.c \ thread_act_server.c \ @@ -288,7 +334,8 @@ ${COMP_FILES} : ${MIG_TYPES} ${MIG_KUSRC} : \ %_user.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ + @echo MIG $@ + $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ -user $*_user.c \ -header $*.h \ -server /dev/null \ @@ -299,13 +346,13 @@ ${MIG_KUSRC} : \ ${MIG_KSSRC}: \ %_server.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ + @echo MIG $@ + $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ -user /dev/null \ -header /dev/null \ -server $*_server.c \ -sheader $*_server.h \ $< - include $(MakeInc_rule) include $(MakeInc_dir)