Home
last modified time | relevance | path

Searched refs:mach (Results 1 – 25 of 114) sorted by relevance

12345

/illumos-gate/usr/src/common/elfcap/
H A Delfcap.c584 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw1_to_str() argument
593 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw1_to_str()
597 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in elfcap_hw1_to_str()
598 (mach == EM_SPARCV9)) in elfcap_hw1_to_str()
610 size_t len, elfcap_fmt_t fmt, ushort_t mach) in elfcap_hw2_to_str() argument
619 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw2_to_str()
711 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw1_from_str()
714 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in elfcap_hw1_from_str()
715 (mach == EM_SPARCV9)) in elfcap_hw1_from_str()
723 if ((mach == EM_386) || (mach == EM_IA_64) || (mach == EM_AMD64)) in elfcap_hw2_from_str()
[all …]
/illumos-gate/usr/src/cmd/mdb/tools/scripts/
H A Dmdb.sh36 mach=`/usr/bin/uname -p` # Machine type
46 mdb_exec=$CODEMGR_WS/proto/root_$mach/usr/bin/mdb
47 root=$CODEMGR_WS/proto/root_$mach
50 root=$mdb_lib/$mach/%R/%V
62 root=$mdb_lib/$mach/%R/%V
63 elif [ -x $mdb_ws/proto/root_$mach/usr/bin/mdb ]; then
64 mdb_exec=$mdb_ws/proto/root_$mach/usr/bin/mdb
65 root=$mdb_lib/$mach/%R/%V
126 [ -n "$build" ] && root=$mdb_lib/$mach/$build
149 elif [ $mdb_exec = $mdb_ws/proto/root_$mach/usr/bin/mdb ]; then
[all …]
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dcap_machelf.c38 conv_cap(Xword val, char *str, size_t len, Half mach, in conv_cap() argument
58 mach) != 0) in conv_cap()
72 conv_cap_val_hw1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_hw1() argument
79 mach, fmt_flags, elfcap_hw1_to_str) == 0) in conv_cap_val_hw1()
85 conv_cap_val_hw2(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_hw2() argument
92 mach, fmt_flags, elfcap_hw2_to_str) == 0) in conv_cap_val_hw2()
98 conv_cap_val_sf1(Xword val, Half mach, Conv_fmt_flags_t fmt_flags, in conv_cap_val_sf1() argument
105 mach, fmt_flags, elfcap_sf1_to_str) == 0) in conv_cap_val_sf1()
136 return (conv_cap_val_hw1(val, mach, fmt_flags, in conv_cap_val()
140 return (conv_cap_val_sf1(val, mach, fmt_flags, in conv_cap_val()
[all …]
H A Dcap.c118 conv_iter_cap_val_hw1(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_cap_val_hw1() argument
121 if ((mach == EM_386) || (mach == EM_486) || in conv_iter_cap_val_hw1()
122 (mach == EM_AMD64) || (mach == CONV_MACH_ALL)) in conv_iter_cap_val_hw1()
128 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in conv_iter_cap_val_hw1()
129 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL)) in conv_iter_cap_val_hw1()
140 conv_iter_cap_val_hw2(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_cap_val_hw2() argument
H A Dsymbols.c127 conv_sym_info_type_strings(Half mach, Conv_fmt_flags_t fmt_flags) in conv_sym_info_type_strings() argument
188 is_sparc = (mach == EM_SPARC) || (mach == EM_SPARCV9) || in conv_sym_info_type_strings()
189 (mach == EM_SPARC32PLUS) || (mach == CONV_MACH_ALL); in conv_sym_info_type_strings()
223 return (conv_map_ds(ELFOSABI_NONE, mach, type, in conv_sym_info_type()
228 conv_iter_sym_info_type(Half mach, Conv_fmt_flags_t fmt_flags, in conv_iter_sym_info_type() argument
231 return (conv_iter_ds(ELFOSABI_NONE, mach, in conv_iter_sym_info_type()
232 conv_sym_info_type_strings(mach, fmt_flags), func, uvalue)); in conv_iter_sym_info_type()
400 return (conv_map_ds(osabi, mach, shndx, in conv_sym_shndx()
405 conv_iter_sym_shndx(conv_iter_osabi_t osabi, Half mach, in conv_iter_sym_shndx() argument
434 if (mach == EM_AMD64) { in conv_iter_sym_shndx()
[all …]
H A Dsections.c365 if ((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in sec_type_strings()
366 (mach == EM_SPARCV9) || (mach == CONV_MACH_ALL)) { in sec_type_strings()
383 if ((mach == EM_AMD64) || (mach == CONV_MACH_ALL)) { in sec_type_strings()
411 return (conv_map_ds(osabi, mach, sec, in conv_sec_type()
416 conv_iter_sec_type(conv_iter_osabi_t osabi, Half mach, in conv_iter_sec_type() argument
419 return (conv_iter_ds(osabi, mach, in conv_iter_sec_type()
420 sec_type_strings(osabi, mach, fmt_flags), func, uvalue)); in conv_iter_sec_type()
539 conv_iter_sec_flags(conv_iter_osabi_t osabi, Half mach, in conv_iter_sec_flags() argument
555 if (conv_iter_vd2(osabi, mach, conv_sec_flags_strings(fmt_flags), in conv_iter_sec_flags()
560 if (mach == EM_AMD64) { in conv_iter_sec_flags()
[all …]
H A Dsymbols_machelf.c38 conv_sym_value(Half mach, uchar_t type, Addr value, Conv_inv_buf_t *inv_buf) in conv_sym_value() argument
40 if (((mach == EM_SPARC) || (mach == EM_SPARC32PLUS) || in conv_sym_value()
41 (mach == EM_SPARCV9)) && (type == STT_SPARC_REGISTER)) in conv_sym_value()
H A Dglobals.c112 map_vd22str(Conv_inv_buf_t *inv_buf, uchar_t osabi, Half mach, in map_vd22str() argument
117 if (CONV_VD2_SKIP(osabi, mach, vdp)) in map_vd22str()
133 _conv_map_ds(uchar_t osabi, Half mach, Conv_elfvalue_t value, in _conv_map_ds() argument
158 return (map_vd22str(inv_buf, osabi, mach, value, in _conv_map_ds()
250 _conv_iter_vd2(conv_iter_osabi_t osabi, Half mach, const Val_desc2 *vdp, in _conv_iter_vd2() argument
254 if (CONV_ITER_VD2_SKIP(osabi, mach, vdp)) in _conv_iter_vd2()
270 _conv_iter_ds(conv_iter_osabi_t osabi, Half mach, const conv_ds_t **dsp, in _conv_iter_ds() argument
294 if (_conv_iter_vd2(osabi, mach, in _conv_iter_ds()
H A Drelocate.c38 conv_reloc_type(Half mach, Word type, Conv_fmt_flags_t fmt_flags, in conv_reloc_type() argument
41 switch (mach) { in conv_reloc_type()
63 conv_reloc_type_static(Half mach, Word type, Conv_fmt_flags_t fmt_flags) in conv_reloc_type_static() argument
67 return (conv_reloc_type(mach, type, fmt_flags, &inv_buf)); in conv_reloc_type_static()
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfconst.c151 libconv_iter_func_mach_t mach; member
285 (void) (* sym->ste_conv_func.mach)(mach, in libconv_fill_iter()
287 (void) (* sym->ste_conv_func.mach)(mach, in libconv_fill_iter()
364 sym_table[_ndx].ste_conv_func.mach = _func; in init_libconv_strings()
375 *mach = CONV_MACH_ALL; in init_libconv_strings()
448 mach_change = *mach != cur_mach; in invalidate_libconv_strings()
485 *mach = cur_mach; in invalidate_libconv_strings()
500 static Half mach; in elfedit_const_to_atoui() local
505 init_libconv_strings(&osabi, &mach); in elfedit_const_to_atoui()
526 invalidate_libconv_strings(&osabi, &mach); in elfedit_const_to_atoui()
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Drelocate.c46 Elf_reloc_apply_reg(lml, caller, mach, off, value); in Dbg_reloc_apply_reg()
231 conv_reloc_type(mach, rdesc->rel_rtype, 0, &inv_buf), in Dbg_reloc_doact()
250 Dbg_reloc_discard(Lm_list *lml, Half mach, Rel_desc *rsp) in Dbg_reloc_discard() argument
265 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_discard()
285 conv_reloc_type(mach, rsp->rel_rtype, 0, &inv_buf1), in Dbg_reloc_transition()
288 conv_reloc_type(mach, rtype, 0, &inv_buf2)); in Dbg_reloc_transition()
392 conv_reloc_type(mach, orsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_ors_entry()
418 conv_reloc_type(mach, arsp->rel_rtype, 0, &inv_buf), in Dbg_reloc_ars_entry()
670 str = conv_reloc_type(mach, ELF_R_TYPE(rela->r_info, mach), in Elf_reloc_entry_1()
677 str = conv_reloc_type(mach, ELF_R_TYPE(rel->r_info, mach), in Elf_reloc_entry_1()
[all …]
H A Dcap.c65 Dbg_cap_val(Lm_list *lml, Syscapset *sys, Syscapset *alt, Half mach) in Dbg_cap_val() argument
87 conv_cap_val_hw2(sys->sc_hw_2, mach, 0, in Dbg_cap_val()
92 conv_cap_val_hw1(sys->sc_hw_1, mach, 0, in Dbg_cap_val()
97 conv_cap_val_sf1(sys->sc_sf_1, mach, 0, in Dbg_cap_val()
113 conv_cap_val_hw2(alt->sc_hw_2, mach, 0, in Dbg_cap_val()
118 conv_cap_val_hw1(alt->sc_hw_1, mach, 0, in Dbg_cap_val()
123 conv_cap_val_sf1(alt->sc_sf_1, mach, 0, in Dbg_cap_val()
154 Half mach) in Dbg_cap_val_entry() argument
163 conv_cap_tag(tag, 0, &inv_buf), conv_cap_val(tag, val, mach, 0, in Dbg_cap_val_entry()
214 Half mach) in Elf_cap_entry() argument
[all …]
H A Dentry.c35 Dbg_ent_entry(Lm_list *lml, uchar_t osabi, Half mach, Ent_desc *enp) in Dbg_ent_entry() argument
54 conv_sec_flags(osabi, mach, enp->ec_attrmask, 0, &buf.sec_flags)); in Dbg_ent_entry()
59 conv_sec_flags(osabi, mach, enp->ec_attrbits, 0, &buf.sec_flags)); in Dbg_ent_entry()
62 conv_sec_type(osabi, mach, enp->ec_type, 0, &buf.inv)); in Dbg_ent_entry()
77 Dbg_ent_print(Lm_list *lml, uchar_t osabi, Half mach, APlist *alp) in Dbg_ent_print() argument
90 Dbg_ent_entry(lml, osabi, mach, enp); in Dbg_ent_print()
H A Dshdr.c33 Elf_shdr(Lm_list *lml, uchar_t osabi, Half mach, Shdr *shdr) in Elf_shdr() argument
39 conv_sec_flags(osabi, mach, shdr->sh_flags, 0, &sec_flags_buf)); in Elf_shdr()
41 conv_sec_type(osabi, mach, shdr->sh_type, 0, &inv_buf1)); in Elf_shdr()
61 Dbg_shdr_modified(Lm_list *lml, const char *obj, uchar_t osabi, Half mach, in Dbg_shdr_modified() argument
79 Elf_shdr(lml, osabi, mach, oshdr); in Dbg_shdr_modified()
82 Elf_shdr(lml, osabi, mach, nshdr); in Dbg_shdr_modified()
H A Delf.c42 Half mach = ehdr->e_machine; in Elf_ehdr() local
59 conv_ehdr_mach(mach, 0, &inv_buf1), in Elf_ehdr()
69 flgs = conv_ehdr_flags(mach, ehdr->e_flags, 0, &flags_buf); in Elf_ehdr()
112 conv_sec_flags(osabi, mach, shdr0->sh_flags, 0, &sec_flags_buf)); in Elf_ehdr()
114 conv_sec_type(osabi, mach, shdr0->sh_type, 0, &inv_buf1)); in Elf_ehdr()
H A Dgot.c128 Elf_got_entry(Lm_list *lml, Sword ndx, Addr addr, Xword value, Half mach, in Elf_got_entry() argument
153 str = conv_reloc_type(mach, in Elf_got_entry()
154 ELF_R_TYPE(rela->r_info, mach), 0, &inv_buf); in Elf_got_entry()
157 str = conv_reloc_type(mach, in Elf_got_entry()
158 ELF_R_TYPE(rel->r_info, mach), 0, &inv_buf); in Elf_got_entry()
H A Dsyms.c70 Half mach, Syscapset *scapset) in Dbg_syms_cap_lookup() argument
81 str = conv_cap_val_hw1(scapset->sc_hw_1, mach, 0, in Dbg_syms_cap_lookup()
85 str = conv_cap_val_sf1(scapset->sc_sf_1, mach, 0, in Dbg_syms_cap_lookup()
89 str = conv_cap_val_hw2(scapset->sc_hw_2, mach, 0, in Dbg_syms_cap_lookup()
447 Half mach = ofl->ofl_dehdr->e_machine; in Dbg_syms_resolving() local
459 osabi, mach, osym, sdp->sd_aux ? sdp->sd_aux->sa_overndx : 0, in Dbg_syms_resolving()
463 osabi, mach, nsym, 0, 0, NULL, ifl->ifl_name); in Dbg_syms_resolving()
639 uchar_t osabi, Half mach, Sym *sym, Versym verndx, int gnuver, in Elf_syms_table_entry() argument
656 sec = conv_sym_shndx(osabi, mach, sym->st_shndx, in Elf_syms_table_entry()
660 conv_sym_value(mach, type, sym->st_value, &inv_buf1), in Elf_syms_table_entry()
[all …]
H A Dsegments.c36 Dbg_seg_desc_entry(Lm_list *lml, uchar_t osabi, Half mach, int ndx, in Dbg_seg_desc_entry() argument
52 Elf_phdr(lml, osabi, mach, &sgp->sg_phdr); in Dbg_seg_desc_entry()
119 Dbg_seg_list(Lm_list *lml, uchar_t osabi, Half mach, APlist *apl) in Dbg_seg_list() argument
131 Dbg_seg_desc_entry(lml, osabi, mach, ndx++, sgp, TRUE); in Dbg_seg_list()
/illumos-gate/usr/src/cmd/sgs/elfwrap/common/
H A Dmain.c55 ushort_t mach = EM_NONE; in main() local
132 mach = EM_SPARCV9; in main()
134 mach = EM_SPARC; in main()
138 mach = EM_AMD64; in main()
140 mach = EM_386; in main()
179 return (output64(prog, fd, ofile, mach, &odesc)); in main()
181 return (output32(prog, fd, ofile, mach, &odesc)); in main()
/illumos-gate/usr/src/cmd/bnu/
H A Duusched.c39 char mach[15]; member
151 M[UUSTAT_TBL].mach[0] = NULLCHAR;
154 for (num=0, m=M; m->mach[0] != '\0'; m++, num++) {
155 DEBUG(5, "machine: %s, ", M[num].mach);
176 (void) strcpy(Rmtname, M[snumber].mach);
217 for (m = M; m->mach[0] != '\0'; m++)
219 if (EQUALSN(name, m->mach, MAXBASENAME)) {
225 if (namelen > strlen(m->mach))
226 (void) strcpy(m->mach, name);
245 (void) strcpy(m->mach, name);
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c245 process_args(int argc, char **argv, uchar_t *class_ret, Half *mach) in process_args() argument
449 *mach = (class == ELFCLASS64) ? mach64 : mach32; in process_args()
450 if (*mach == EM_NONE) in process_args()
452 *mach = ar_mach; in process_args()
454 *mach = (class == ELFCLASS64) ? M_MACH_64 : M_MACH_32; in process_args()
642 Half mach; in main() local
670 if (process_args(argc, argv, &class, &mach)) in main()
675 return (ld64_main(argc, argv, mach)); in main()
677 return (ld32_main(argc, argv, mach)); in main()
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_isr.c70 mac_link_update(adapter->mach, linkup); in unm_nic_isr_other()
110 mac_link_update(adapter->mach, LINK_STATE_DOWN); in unm_nic_handle_phy_intr()
116 mac_link_update(adapter->mach, LINK_STATE_UP); in unm_nic_handle_phy_intr()
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dcatalog.awk51 if ($3 == mach)
55 if ($3 == mach)
/illumos-gate/usr/src/cmd/drd/
H A Dsvc-drd33 mach=`/sbin/uname -m`
37 if [ $mach = "sun4v" ]; then
/illumos-gate/usr/src/cmd/ldmad/
H A Dldoms-agents33 mach=`/sbin/uname -m`
35 if [ "$mach" != "sun4v" ]; then

12345