/darwin-on-arm/xnu/SETUP/config/ |
H A D | externs.c | 44 struct cputype *cputype; variable in typeref:struct:cputype
|
H A D | config.h | 189 struct cputype { struct 191 struct cputype *cpu_next; 194 extern struct cputype *cputype;
|
H A D | mkmakefile.c | 252 if (cputype == 0) { 375 struct cputype *cp; 548 for (cp = cputype; cp; cp = cp->cpu_next) 824 struct cputype *cp; 826 for (cp = cputype; cp; cp = cp->cpu_next)
|
H A D | parser.y | 250 struct cputype *cp = 251 (struct cputype *)malloc(sizeof (struct cputype)); 253 cp->cpu_next = cputype; 254 cputype = cp;
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/mach-o/ |
H A D | fat.h | 30 * cputype and cpusubtype, the fat_header describes the file offset, file 57 cpu_type_t cputype; /* cpu specifier (int) */ member in struct:fat_arch
|
H A D | loader.h | 56 cpu_type_t cputype; /* cpu specifier */ member in struct:mach_header 74 cpu_type_t cputype; /* cpu specifier */ member in struct:mach_header_64
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_fat.c | 139 * Collect flags from both cputype and cpusubtype 141 testtype = OSSwapBigToHostInt32(arch->cputype) | 176 archret->cputype = 177 OSSwapBigToHostInt32(best_arch->cputype);
|
H A D | mach_loader.c | 152 cpu_type_t cputype, 507 if (((cpu_type_t)(header->cputype & ~CPU_ARCH_MASK) != cpu_type()) || 508 !grade_binary(header->cputype, 512 abi64 = ((header->cputype & CPU_ARCH_ABI64) == CPU_ARCH_ABI64); 678 dlarchbits = (header->cputype & CPU_ARCH_MASK); 702 header->cputype, 1466 cpu_type_t cputype, 1486 blob = ubc_cs_blob_get(vp, cputype, -1); 1488 /* we already have a blob for this vnode and cputype */ 1489 if (blob->csb_cpu_type == cputype 1461 load_code_signature( struct linkedit_data_command *lcp, struct vnode *vp, off_t macho_offset, off_t macho_size, cpu_type_t cputype, load_result_t *result) argument [all...] |
H A D | kern_mib.c | 131 static int cputype, cpusubtype, cputhreadtype, cpufamily, cpu64bit; variable 345 SYSCTL_INT (_hw, OID_AUTO, cputype, CTLFLAG_RD | CTLFLAG_KERN | CTLFLAG_LOCKED, &cputype, 0, ""); 499 cputype = cpu_type();
|
H A D | kern_core.c | 335 mh64->cputype = process_cpu_type(core_proc); 344 mh->cputype = process_cpu_type(core_proc);
|
H A D | ubc_subr.c | 2428 cpu_type_t cputype, 2477 blob->csb_cpu_type = cputype; 2590 oblob->csb_cpu_type = cputype; 2688 cpu_type_t cputype, 2706 if (cputype != -1 && blob->csb_cpu_type == cputype) { 2426 ubc_cs_blob_add( struct vnode *vp, cpu_type_t cputype, off_t base_offset, vm_address_t addr, vm_size_t size) argument 2686 ubc_cs_blob_get( struct vnode *vp, cpu_type_t cputype, off_t offset) argument
|
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_stubs.c | 46 KXLDFlags flags __unused, cpu_type_t cputype __unused,
|
H A D | kxld.c | 65 cpu_type_t cputype; member in struct:kxld_context 107 KXLDFlags flags, cpu_type_t cputype, cpu_subtype_t cpusubtype) 127 context->cputype = cputype; 153 context->section_order = kxld_dict_find(s_order_dict, &cputype); 170 *cputype_p = cputype; 436 context->section_order, context->cputype, context->cpusubtype, context->flags); 105 kxld_create_context(KXLDContext **_context, KXLDAllocateCallback allocate_callback, KXLDLoggingCallback logging_callback, KXLDFlags flags, cpu_type_t cputype, cpu_subtype_t cpusubtype) argument
|
H A D | kxld_object.c | 78 cpu_type_t cputype; member in struct:kxld_object 113 cpu_type_t cputype, cpu_subtype_t cpusubtype); 205 cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags __unused) 226 rval = get_target_machine_info(object, cputype, cpusubtype); 245 object->symtab, &object->sects, object->cputype, 318 get_target_machine_info(KXLDObject *object, cpu_type_t cputype __unused, 331 object->cputype = CPU_TYPE_I386; 335 object->cputype = CPU_TYPE_X86_64; 339 object->cputype = CPU_TYPE_ARM; 344 kKxldLogArchNotSupported, object->cputype); 203 kxld_object_init_from_macho(KXLDObject *object, u_char *file, u_long size, const char *name, KXLDArray *section_order __unused, cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags __unused) argument [all...] |
H A D | kxld_object.h | 58 cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags)
|
H A D | kxld_reloc.h | 92 cpu_type_t cputype, cpu_subtype_t cpusubtype, boolean_t swap)
|
H A D | kxld_util.c | 755 kxld_is_32_bit(cpu_type_t cputype) argument 757 return !(cputype & CPU_ARCH_ABI64);
|
H A D | kxld_reloc.c | 189 const KXLDSymtab *symtab, const KXLDArray *sectarray, cpu_type_t cputype, 196 switch(cputype) { 233 kKxldLogArchNotSupported, cputype); 240 relocator->is_32_bit = kxld_is_32_bit(cputype); 188 kxld_relocator_init(KXLDRelocator *relocator, u_char *file, const KXLDSymtab *symtab, const KXLDArray *sectarray, cpu_type_t cputype, cpu_subtype_t cpusubtype __unused, boolean_t swap) argument
|
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | kxld.h | 51 * cputype The target arch's CPU type (0 for host arch) 59 cpu_type_t cputype,
|
H A D | mkext.h | 71 * - cputype & cpusubtype - in version 1 could be CPU_TYPE_ANY 85 cpu_type_t cputype; \ 102 #define MKEXT_GET_CPUTYPE(hdr) (MKEXT_SWAP(MKEXT_HDR_CAST(hdr)->cputype))
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_shared_region.c | 148 cpu_type_t cputype, 333 cpu_type_t cputype, 341 root_dir, cputype, is_64bit)); 353 if (shared_region->sr_cpu_type == cputype && 365 cputype, 397 root_dir, cputype, is_64bit, shared_region)); 552 cpu_type_t cputype, 565 root_dir, cputype, is_64bit)); 583 switch (cputype) { 599 cputype)); 331 vm_shared_region_lookup( void *root_dir, cpu_type_t cputype, boolean_t is_64bit) argument 550 vm_shared_region_create( void *root_dir, cpu_type_t cputype, boolean_t is_64bit) argument [all...] |
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/ |
H A D | kdp_arm_common.c | 220 mh.cputype = _mh_execute_header.cputype;;
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 720 if (CPU_ARCH_ABI64 & target_arch->cputype) 724 hdr.cputype = target_arch->cputype; 743 hdr.cputype = target_arch->cputype; 745 hdr.filetype = (target_arch->cputype == CPU_TYPE_I386) ? MH_OBJECT : MH_KEXT_BUNDLE; 798 if (CPU_ARCH_ABI64 & target_arch->cputype)
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | main.c | 647 cpu_type_t cputype = _mh_execute_header.cputype; local 650 const NXArchInfo *arch = NXGetArchInfoFromCpuType(cputype, cpusubtype);
|
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/ |
H A D | kdp_x86_common.c | 588 mh.cputype = _mh_execute_header.cputype;;
|