Home
last modified time | relevance | path

Searched refs:cpu_type (Results 1 – 24 of 24) sorted by relevance

/xnu-11215/osfmk/i386/
H A Dcpu.c111 cdp->cpu_type = cpuid_cputype(); in cpu_init()
221 return cpu_datap(slot_num)->cpu_type; in slot_type()
239 cpu_type(void) in cpu_type() function
241 return current_cpu_datap()->cpu_type; in cpu_type()
H A Dcpu_data.h309 int cpu_type; member
/xnu-11215/osfmk/mach/
H A Dhost_info.h110 cpu_type_t cpu_type; /* cpu type */ member
134 cpu_type_t cpu_type; /* cpu type */ member
287 cpu_type_t cpu_type; /* Preferred user-space cpu type */ member
H A Dprocessor_info.h99 cpu_type_t cpu_type; /* type of cpu */ member
H A Dmachine.h86 cpu_type_t cpu_type(void);
/xnu-11215/bsd/kern/
H A Dmach_fat.c171 int primary_type = cpu_type(); in fatfile_getbestarch()
223 …return fatfile_getarch(data_ptr, data_size, (archbits & CPU_ARCH_MASK) | (cpu_type() & ~CPU_ARCH_M… in fatfile_getarch_with_bits()
H A Dkern_mib.c428 return SYSCTL_RETURN(req, hinfo.cpu_type); in sysctl_hw_generic()
1437 cpu64bit = (cpu_type() & CPU_ARCH_ABI64) == CPU_ARCH_ABI64; in sysctl_mib_init()
H A Dmach_loader.c840 if (((cpu_type_t)(header->cputype & ~CPU_ARCH_MASK) != (cpu_type() & ~CPU_ARCH_MASK)) in parse_machfile()
2970 cputype = (cputype & CPU_ARCH_MASK) | (cpu_type() & ~CPU_ARCH_MASK); in load_dylinker()
H A Dkern_exit.c603 cputype = cpu_type() & ~CPU_ARCH_MASK; in populate_corpse_crashinfo()
1200 cpu_type_t cputype = cpu_type() & ~CPU_ARCH_MASK; in current_thread_collect_backtrace_info()
H A Dkern_exec.c1550 if (cpu_type() == CPU_TYPE_ARM64 && in exec_mach_imgact()
1555 p, cpu_type(), p->p_cputype, p->p_cpusubtype); in exec_mach_imgact()
1621 int cputype = cpu_type(); in exec_mach_imgact()
H A Dkern_sysctl.c4132 ret = cpu_type() & ~CPU_ARCH_MASK;
4157 if ((proc_cputype & ~CPU_ARCH_MASK) != (cpu_type() & ~CPU_ARCH_MASK)) {
/xnu-11215/osfmk/kdp/
H A Dprocessor_core.c139 uint32_t mh_magic, cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) in kern_register_coredump_helper_internal() argument
209 core_helper->kcc_cpu_type = cpu_type; in kern_register_coredump_helper_internal()
258 cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) in kern_register_coredump_helper() argument
265 is64bit, mh_magic, cpu_type, cpu_subtype) == NULL) { in kern_register_coredump_helper()
1176 cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) in kern_register_coredump_helper() argument
1178 …dump_config_vers, kc_callbacks, refcon, core_description, is64bit, mh_magic, cpu_type, cpu_subtype) in kern_register_coredump_helper()
H A Dprocessor_core.h233 …const char *core_description, boolean_t is64bit, uint32_t mh_magic, cpu_type_t cpu_type, cpu_subty…
H A Dkdp_protocol.h245 uint32_t cpu_type; member
/xnu-11215/osfmk/arm/
H A Dcpu_common.c777 return cpu_datap(slot_num)->cpu_type; in slot_type()
793 cpu_type(void) in cpu_type() function
795 return getCpuDatap()->cpu_type; in cpu_type()
H A Dcpu_data_internal.h136 int cpu_type; member
/xnu-11215/osfmk/kern/
H A Dhost.c211 basic_info->cpu_type = slot_type(master_id); in host_info()
385 user_arch_info->cpu_type = preferred_cpu_type; in host_info()
389 user_arch_info->cpu_type = slot_type(master_id); in host_info()
H A Dprocessor.c776 basic_info->cpu_type = slot_type(cpu_id); in processor_info()
/xnu-11215/osfmk/kdp/ml/arm/
H A Dkdp_machdep.c233 hostinfo->cpu_type = slot_type(0); in kdp_machine_hostinfo()
/xnu-11215/osfmk/arm64/
H A Dcpu.c691 if (cdp->cpu_type != CPU_TYPE_ARM64) { in cpu_init()
692 cdp->cpu_type = CPU_TYPE_ARM64; in cpu_init()
/xnu-11215/osfmk/kdp/ml/x86_64/
H A Dkdp_machdep.c269 hostinfo->cpu_type = cpuid_cputype() | CPU_ARCH_ABI64; in kdp_machine_hostinfo()
/xnu-11215/tools/lldbmacros/
H A Dktrace.py679 'cpu_type': unsigned(master_cpu_data.cpu_type),
/xnu-11215/security/
H A Dmac_vfs.c1314 cpu_type_t cpu_type = (imgp == NULL) ? CPU_TYPE_ANY : imgp->ip_origcputype; in mac_vnode_check_signature() local
1325 MAC_CHECK(vnode_check_signature, vp, mac_vnode_label(vp), cpu_type, cs_blob, in mac_vnode_check_signature()
H A Dmac_policy.h4849 cpu_type_t cpu_type,