]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/Makefile
xnu-4903.221.2.tar.gz
[apple/xnu.git] / osfmk / mach / Makefile
index b14ee43e43ec4972046dbca887a8c5dd6d0e37a8..e728f0a4f4c0b879dd5ba8d6fdc6f8dc9e1b71d9 100644 (file)
@@ -39,6 +39,7 @@ MIG_DEFS =    \
        mach_vm.defs \
        mach_voucher.defs \
        mach_voucher_attr_control.defs \
+       memory_entry.defs \
        notify.defs \
        processor.defs \
        processor_set.defs \
@@ -48,11 +49,10 @@ MIG_DEFS =  \
        thread_act.defs \
        vm_map.defs
 
-
 MACH_PRIVATE_DEFS = \
        coalition_notification.defs \
+       ktrace_background.defs \
        mach_notify.defs \
-       memory_object.defs \
        memory_object_control.defs \
        memory_object_default.defs \
        sysdiagnose_notification.defs \
@@ -69,7 +69,6 @@ MIG_USHDRS = \
        coalition_notification_server.h \
        exc_server.h \
        mach_exc_server.h \
-       memory_object_server.h \
        memory_object_default_server.h \
        notify_server.h \
        task_access_server.h \
@@ -81,12 +80,14 @@ MIG_UUHDRS = \
        clock_priv.h \
        host_priv.h \
        host_security.h \
+       ktrace_background.h \
        lock_set.h \
        mach_host.h \
        mach_port.h \
        mach_vm.h \
        mach_voucher.h \
        mach_voucher_attr_control.h \
+       memory_entry.h \
        memory_object_control.h \
        processor.h \
        processor_set.h \
@@ -101,6 +102,7 @@ MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
 DATAFILES = \
         boolean.h \
         clock_types.h \
+        dyld_kernel.h \
         error.h \
        exception.h \
        exception_types.h \
@@ -122,6 +124,7 @@ DATAFILES = \
        mig.h \
        mig_errors.h \
        mig_voucher_support.h \
+       mig_strncpy_zerofill_support.h \
        ndr.h \
         notify.h \
        policy.h \
@@ -136,6 +139,7 @@ DATAFILES = \
        sync_policy.h \
         syscall_sw.h \
        task_info.h \
+       task_inspect.h \
        task_policy.h \
        task_special_ports.h \
         thread_info.h \
@@ -161,21 +165,27 @@ INSTALL_MI_LIST   = \
        bootstrap.h \
        ${DATAFILES}
 
+# installed into System.framework's PrivateHeaders/mach subdirectory
 PRIVATE_DATAFILES = \
        bootstrap.h \
        coalition.h \
        coalition_notification.defs \
        host_info.h \
+       ktrace_background.defs \
        mach_host.defs \
        mach_traps.h \
        memory_object_types.h \
        mig.h \
+       mk_timer.h \
        processor_info.h \
+       resource_notify.defs \
+       resource_monitors.h \
        semaphore.h \
        sfi_class.h \
        syscall_sw.h \
        sysdiagnose_notification.defs \
        task_info.h \
+       task_inspect.h \
        task_policy.h \
        thread_policy.h \
        thread_switch.h \
@@ -197,9 +207,9 @@ INSTALL_MI_GEN_LIST =
 INSTALL_MI_DIR = mach
 
 EXPORT_MI_LIST = \
-       branch_predicates.h \
        coalition.h \
        mach_interface.h \
+       resource_monitors.h \
        sfi_class.h \
        ${DATAFILES}
 
@@ -212,21 +222,21 @@ ${MIGINCLUDES} : ${MIG_TYPES}
 
 ${MIG_UUHDRS} : \
        %.h : %.defs
-       @echo MIG $@
+       @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
        $(_v)$(MIG) $(MIGFLAGS)         \
                -server /dev/null       \
                -user /dev/null         \
-               -header $@              \
+               -header $@              \
                $<
 
 ${MIG_USHDRS} : \
        %_server.h : %.defs
-       @echo MIG $@
+       @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
        $(_v)$(MIG) $(MIGFLAGS)         \
                -server /dev/null       \
                -user /dev/null         \
                -header /dev/null       \
-               -sheader $@             \
+               -sheader $@             \
                $<
 
 #
@@ -241,31 +251,38 @@ MIGKUFLAGS      = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
 # MIG-generated headers that are traditionally used by kernel
 # level code.
 #
+
+# sender-side ("user") headers generated by MIG from corresponding .defs
 MIG_KUHDRS = \
        audit_triggers.h \
        clock_reply.h \
        exc.h \
        host_notify_reply.h \
+       ktrace_background.h \
        mach_exc.h \
        mach_notify.h \
        memory_object.h \
        memory_object_control.h \
        memory_object_default.h \
+       resource_notify.h \
        task_access.h \
        upl.h \
        vm_map.h
 
+# sender-side ("user") source files generated by MIG from corresponding .defs
 MIG_KUSRC = \
        audit_triggers_user.c \
        clock_reply_user.c \
        coalition_notification_user.c \
        exc_user.c \
        host_notify_reply_user.c \
+       ktrace_background_user.c \
        mach_exc_user.c \
        mach_notify_user.c \
        memory_object_user.c \
        memory_object_control_user.c \
        memory_object_default_user.c \
+       resource_notify_user.c \
        task_access_user.c \
        telemetry_notification_user.c \
        upl_user.c \
@@ -286,7 +303,7 @@ MIG_KSHDRS = \
        mach_vm_server.h \
        mach_voucher_server.h \
        mach_voucher_attr_control_server.h \
-       memory_object_server.h \
+       memory_entry_server.h \
        memory_object_control_server.h \
        memory_object_default_server.h \
        processor_server.h \
@@ -311,7 +328,7 @@ MIG_KSSRC = \
        mach_vm_server.c \
        mach_voucher_server.c \
        mach_voucher_attr_control_server.c \
-       memory_object_server.c \
+       memory_entry_server.c \
        memory_object_control_server.c \
        memory_object_default_server.c \
        processor_server.c \
@@ -346,7 +363,7 @@ ${COMP_FILES} : ${MIG_TYPES}
 
 ${MIG_KUSRC} : \
        %_user.c : %.defs
-       @echo MIG $@
+       @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
        $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS}        \
                -user    $*_user.c              \
                -header  $*.h              \
@@ -356,7 +373,7 @@ ${MIG_KUSRC} : \
 
 ${MIG_KSSRC}: \
        %_server.c : %.defs
-       @echo MIG $@
+       @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
        $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS}        \
                -user    /dev/null              \
                -header  /dev/null              \