Lines Matching defs:aux

291 	aux_entry_t	*aux;
403 * Determine aux size now so that stack can be built
404 * in one shot (except actual copyout of aux image),
511 * AT_SUN_EMULATOR aux entry.
519 * We will be adding 4 entries to the aux vectors. One for
520 * the the brandname and 3 for the brand specific aux vectors.
594 aux = bigwad->elfargs;
597 * This can fill in the AT_SUN_PLATFORM and AT_SUN_EXECNAME aux entries.
599 if ((error = exec_args(uap, args, idatap, (void **)&aux)) != 0) {
729 * Setup the "aux" vector.
745 ADDAUX(aux, AT_PHDR, uphdr->p_vaddr + voffset)
746 ADDAUX(aux, AT_PHENT, ehdrp->e_phentsize)
747 ADDAUX(aux, AT_PHNUM, nphdrs)
748 ADDAUX(aux, AT_ENTRY, ehdrp->e_entry + voffset)
755 ADDAUX(aux, AT_EXECFD, fd)
817 ADDAUX(aux, AT_SUN_LDDATA, voffset + lddata)
826 ADDAUX(aux, AT_BASE, voffset)
827 ADDAUX(aux, AT_FLAGS, at_flags)
828 ADDAUX(aux, AT_PAGESZ, PAGESIZE)
857 * Record the user addr of the auxflags aux vector entry
862 ((char *)&aux->a_type -
864 ADDAUX(aux, AT_SUN_AUXFLAGS, auxf);
873 ADDAUX(aux, AT_SUN_HWCAP, auxv_hwcap)
874 ADDAUX(aux, AT_SUN_HWCAP2, auxv_hwcap_2)
876 ADDAUX(aux, AT_SUN_HWCAP, auxv_hwcap32)
877 ADDAUX(aux, AT_SUN_HWCAP2, auxv_hwcap32_2)
880 ADDAUX(aux, AT_SUN_HWCAP, auxv_hwcap)
881 ADDAUX(aux, AT_SUN_HWCAP2, auxv_hwcap_2)
885 * Reserve space for the brand-private aux vectors,
890 ((char *)&aux->a_type -
892 ADDAUX(aux, AT_SUN_BRAND_AUX1, 0)
893 ADDAUX(aux, AT_SUN_BRAND_AUX2, 0)
894 ADDAUX(aux, AT_SUN_BRAND_AUX3, 0)
897 ADDAUX(aux, AT_NULL, 0)
898 postfixsize = (char *)aux - (char *)bigwad->elfargs;
901 * We make assumptions above when we determine how many aux
905 * the number of aux entries we actually add will be different.
940 * Copy the aux vector to the user stack.
954 aux = bigwad->elfargs;
956 up->u_auxv[i].a_type = aux[i].a_type;
957 up->u_auxv[i].a_un.a_val = (aux_val_t)aux[i].a_un.a_val;
1044 * aux entry.