Home | History | Annotate | Download | only in m_initimg

Lines Matching defs:auxv

315                             const HChar *type_name, vki_auxv_t *auxv)
317 vg_assert(auxv != NULL);
327 auxv->a_type = type;
328 auxv->a_un.a_val = orig_auxv->a_un.a_val;
351 | auxv |
373 have to build auxv from scratch, to make the code consistent. */
387 vki_auxv_t *auxv;
389 SizeT auxsize; /* total size of auxv in bytes */
402 /* Get the original auxv (if any). */
439 /* Now, how big is the auxv?
456 auxsize = 10 * sizeof(*auxv);
458 auxsize += sizeof(*auxv);
461 auxsize += sizeof(*auxv);
481 auxsize + /* auxv */
602 auxv = (auxv_t*)ptr;
606 auxv->a_type = VKI_AT_SUN_PLATFORM;
608 auxv->a_un.a_ptr = copy_str(&strtab, "i86pc");
612 auxv++;
615 auxv->a_type = VKI_AT_SUN_EXECNAME;
616 auxv->a_un.a_ptr = copy_str(&strtab, resolved_exe_name);
617 auxv++;
621 auxv->a_type = VKI_AT_PHDR;
622 auxv->a_un.a_val = info->phdr;
623 auxv++;
627 auxv->a_type = VKI_AT_BASE;
628 auxv->a_un.a_val = info->interp_offset;
629 auxv++;
632 auxv->a_type = VKI_AT_ENTRY;
633 auxv->a_un.a_val = info->entry;
634 auxv++;
637 auxv->a_type = VKI_AT_FLAGS;
639 auxv->a_un.a_val = 0; /* 0 on i86pc */
643 auxv++;
646 auxv->a_type = VKI_AT_PAGESZ;
647 auxv->a_un.a_val = VKI_PAGE_SIZE;
648 auxv++;
651 auxv->a_type = VKI_AT_SUN_AUXFLAGS;
653 auxv->a_un.a_val = VKI_AF_SUN_HWCAPVERIFY;
654 auxv++;
792 auxv->a_type = VKI_AT_SUN_HWCAP;
793 auxv->a_un.a_val = hwcaps;
794 auxv++;
824 "AT_SUN_SYSSTAT_ADDR", auxv);
825 VG_(change_mapping_ownership)(auxv->a_un.a_val, True);
826 auxv++;
832 "AT_SUN_SYSSTAT_ZONE_ADDR", auxv);
833 VG_(change_mapping_ownership)(auxv->a_un.a_val, True);
834 auxv++;
838 auxv->a_type = VKI_AT_NULL;
839 auxv->a_un.a_val = 0;