Searched refs:cputype (Results 1 - 25 of 28) sorted by relevance

12

/darwin-on-arm/xnu/SETUP/config/
H A Dexterns.c44 struct cputype *cputype; variable in typeref:struct:cputype
H A Dconfig.h189 struct cputype { struct
191 struct cputype *cpu_next;
194 extern struct cputype *cputype;
H A Dmkmakefile.c252 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 Dparser.y250 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 Dfat.h30 * 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 Dloader.h56 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 Dmach_fat.c139 * Collect flags from both cputype and cpusubtype
141 testtype = OSSwapBigToHostInt32(arch->cputype) |
176 archret->cputype =
177 OSSwapBigToHostInt32(best_arch->cputype);
H A Dmach_loader.c152 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 Dkern_mib.c131 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 Dkern_core.c335 mh64->cputype = process_cpu_type(core_proc);
344 mh->cputype = process_cpu_type(core_proc);
H A Dubc_subr.c2428 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 Dkxld_stubs.c46 KXLDFlags flags __unused, cpu_type_t cputype __unused,
H A Dkxld.c65 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 Dkxld_object.c78 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 Dkxld_object.h58 cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags)
H A Dkxld_reloc.h92 cpu_type_t cputype, cpu_subtype_t cpusubtype, boolean_t swap)
H A Dkxld_util.c755 kxld_is_32_bit(cpu_type_t cputype) argument
757 return !(cputype & CPU_ARCH_ABI64);
H A Dkxld_reloc.c189 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 Dkxld.h51 * cputype The target arch's CPU type (0 for host arch)
59 cpu_type_t cputype,
H A Dmkext.h71 * - 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 Dvm_shared_region.c148 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 Dkdp_arm_common.c220 mh.cputype = _mh_execute_header.cputype;;
/darwin-on-arm/xnu/SETUP/kextsymboltool/
H A Dkextsymboltool.c720 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 Dmain.c647 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 Dkdp_x86_common.c588 mh.cputype = _mh_execute_header.cputype;;

Completed in 80 milliseconds

12