Lines Matching refs:mh
299 struct mach_header *mh;
349 mh = (struct mach_header *) header;
350 mh->magic = MH_MAGIC;
351 mh->cputype = cpu_type();
352 mh->cpusubtype = cpu_subtype();
353 mh->filetype = MH_CORE;
354 mh->ncmds = segment_count + thread_count + mach_section_count;
355 mh->sizeofcmds = command_size;
356 mh->flags = 0;
380 if ((panic_error = kdp_send_crashdump_data (KDP_DATA, NULL, sizeof(struct mach_header), (caddr_t) mh) < 0)) {