Lines Matching refs:uintptr_t
62 ((a) == 0 ? (uintptr_t)(x) : (((uintptr_t)(x) + (a) - 1) & ~((a) - 1)))
320 ((p)++)->a_un.a_val = (int32_t)(uintptr_t)(v); }
323 ((p)++)->eb_un.eb_val = (Elf32_Word)(uintptr_t)(v); }
336 uintptr_t off;
358 /* use uintptr_t to suppress the gcc warning */
359 entrypt = (func_t)(uintptr_t)elfhdrp->e_entry;
471 if ((loadaddr = (uintptr_t)
546 /* use uintptr_t to suppress the gcc warning */
547 if (get_progmemory((caddr_t)(uintptr_t)base,
556 /* use uintptr_t to suppress the gcc warning */
557 if (xread(fd, (caddr_t)(uintptr_t)loadaddr,
569 /* use uintptr_t to suppress the gcc warning */
570 bzero((void *)(uintptr_t)loadaddr,
581 (caddr_t)(uintptr_t)phdr->p_vaddr,
660 /* use uintptr_t to suppress the gcc warning */
662 (Elf32_Addr)(uintptr_t)kmem_alloc(size, 0)) == NULL) {
666 /* use uintptr_t to suppress the gcc warning */
668 (void *)(uintptr_t)(elfbootvec->eb_un.eb_ptr), size);
681 /* use uintptr_t to suppress the gcc warning */
683 (Elf32_Addr)(uintptr_t)kmem_alloc(size, 0)) == NULL) {
688 (auxv64_t *)(uintptr_t)
736 uintptr_t off;
740 uintptr_t dynamic; /* dynamic tags array */
882 if ((loadaddr = (Elf64_Addr)(uintptr_t)
936 if (get_progmemory((caddr_t)(uintptr_t)base,
946 if (xread(fd, (caddr_t)(uintptr_t)
960 bzero((caddr_t)(uintptr_t)loadaddr,
971 sync_instruction_memory((caddr_t)(uintptr_t)
1026 AUX64(av, AT_PHDR, (uintptr_t)allphdrs);
1038 AUX64(av, AT_SUN_MMU, (uintptr_t)mmulist);
1043 AUX64(av, AT_SUN_CPU, (uintptr_t)cpulist);
1104 uintptr_t dl_entry = 0;
1111 /* use uintptr_t to suppress the gcc warning */
1112 etext = (caddr_t)(uintptr_t)thdr->p_vaddr + thdr->p_memsz;
1113 edata = (caddr_t)(uintptr_t)dhdr->p_vaddr + dhdr->p_memsz;
1195 dl_entry = (uintptr_t)load + ehdr->e_entry;
1213 * Assign the section's virtual addr. Use uintptr_t to
1216 sp->sh_addr = (Elf32_Off)(uintptr_t)load;
1219 * uintptr_t to suppress the gcc warning as well.
1222 sync_instruction_memory((caddr_t)(uintptr_t)sp->sh_addr,
1228 thdr->p_memsz = (Elf32_Word)((uintptr_t)etext - thdr->p_vaddr);
1229 dhdr->p_memsz = (Elf32_Word)((uintptr_t)edata - dhdr->p_vaddr);
1276 AUX64(*avp, AT_SUN_LDNAME, (uintptr_t)rtld);
1281 if ((ehdr = (Elf64_Ehdr *)(uintptr_t)kmem_alloc(sizeof (Elf64_Ehdr),
1310 AUX64(*avp, AT_SUN_LDELF, (uintptr_t)ehdr);
1311 AUX64(*avp, AT_SUN_LDSHDR, (uintptr_t)shdrs);
1373 bzero((caddr_t)(uintptr_t)load, sp->sh_size);
1379 xread(fd, (caddr_t)(uintptr_t)load, sp->sh_size) !=
1398 sync_instruction_memory((caddr_t)(uintptr_t)sp->sh_addr,
1440 pva = (caddr_t)roundup((uintptr_t)*spp, alloc_pagesize);