Lines Matching refs:uintptr_t
128 trampoline = (void *)(uintptr_t)ptr; in elf64_exec()
143 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
151 gdt = (void *)(uintptr_t)ptr; in elf64_exec()
157 gdtr = (void *)(uintptr_t)(ptr + in elf64_exec()
160 gdtr->rd_base = (uintptr_t)gdt; in elf64_exec()
170 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
171 BS->FreePages((uintptr_t)gdt, 1); in elf64_exec()
174 PT4 = (pml4_entry_t *)(uintptr_t)ptr; in elf64_exec()
189 PT4[i] = (uintptr_t)PT3 | PG_V | PG_RW; in elf64_exec()
195 PT3[i] = (uintptr_t)PT2 | PG_V | PG_RW; in elf64_exec()
210 BS->FreePages((uintptr_t)trampoline, 1); in elf64_exec()
211 BS->FreePages((uintptr_t)gdt, 1); in elf64_exec()
214 PT4 = (pml4_entry_t *)(uintptr_t)ptr; in elf64_exec()
226 PT4[0] = (uintptr_t)PT3_l | PG_V | PG_RW; in elf64_exec()
227 PT3_l[0] = (uintptr_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
228 PT3_l[1] = (uintptr_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
229 PT3_l[2] = (uintptr_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
230 PT3_l[3] = (uintptr_t)PT2_l3 | PG_V | PG_RW; in elf64_exec()
236 PT4[511] = (uintptr_t)PT3_u | PG_V | PG_RW; in elf64_exec()
237 PT3_u[511] = (uintptr_t)PT2_u1 | PG_V | PG_RW; in elf64_exec()
238 PT3_u[510] = (uintptr_t)PT2_u0 | PG_V | PG_RW; in elf64_exec()