1export MakeInc_cmd=$(SRCROOT)/makedefs/MakeInc.cmd 2export MakeInc_def=$(SRCROOT)/makedefs/MakeInc.def 3export MakeInc_rule=$(SRCROOT)/makedefs/MakeInc.rule 4export MakeInc_dir=$(SRCROOT)/makedefs/MakeInc.dir 5 6include $(MakeInc_cmd) 7include $(MakeInc_def) 8 9# proc_reg.h is exported into the userspace internal SDK for usage by SPTM's 10# userspace testing system. 11ARM_PRIVATE_HEADERS = \ 12 proc_reg.h 13 14 15EXPINC_SUBDIRS_ARM64 += \ 16 sptm 17 18ARM_HEADER_FILES = \ 19 machine_cpuid.h \ 20 machine_machdep.h \ 21 mte.h \ 22 23INSTALL_MD_LIST = \ 24 mte.h \ 25 26# Headers installed into Kernel.framework/Headers (public and internal SDKs). 27INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) 28 29# Headers installed into Kernel.framework/PrivateHeaders (internal SDK only). 30INSTALL_KF_MD_LCL_LIST = \ 31 hv_hvc.h \ 32 lowglobals.h \ 33 machine_kpc.h \ 34 machine_remote_time.h \ 35 monotonic.h \ 36 proc_reg.h \ 37 tlb.h \ 38 $(ARM_HEADER_FILES) 39 40# Headers installed into System.framework/PrivateHeaders 41INSTALL_SF_MD_LCL_LIST = \ 42 $(ARM_PRIVATE_HEADERS) 43 44# TODO: Is there a reason that machine_machdep.h is not in this list? If not, these lists can be consolidated. 45# Headers used to compile xnu 46EXPORT_MD_LIST = \ 47 cpc_arm64.h \ 48 hv_hvc.h \ 49 lowglobals.h \ 50 machine_cpuid.h \ 51 machine_kpc.h \ 52 machine_remote_time.h \ 53 monotonic.h \ 54 proc_reg.h \ 55 asm.h \ 56 speculation.h \ 57 static_if.h \ 58 tlb.h \ 59 pal_hibernate.h \ 60 mte.h \ 61 mte_xnu.h 62 63# These headers will be available with #include <arm64/header_file.h> 64EXPORT_MD_DIR = arm64 65 66INSTALL_MD_DIR = arm64 67 68include $(MakeInc_rule) 69include $(MakeInc_dir) 70