Searched refs:trampcode (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/stand/kboot/kboot/arch/amd64/ |
| H A D | elf64_freebsd.c | 153 vm_offset_t trampstack, trampcode; in elf64_exec() local 156 void *trampcode; in elf64_exec() local 212 trampcode = copy_staging == COPY_STAGING_ENABLE ? in elf64_exec() 216 (EFI_PHYSICAL_ADDRESS *)&trampcode); in elf64_exec() 223 trampstack = trampcode + LOADER_PAGE_SIZE - 8; in elf64_exec() 226 trampcode = host_getmem(LOADER_PAGE_SIZE); in elf64_exec() 227 if (trampcode == NULL) { in elf64_exec() 232 bzero((void *)trampcode, LOADER_PAGE_SIZE); in elf64_exec() 234 trampoline = (void *)trampcode; in elf64_exec() 243 BS->FreePages(trampcode, 1); in elf64_exec() [all …]
|
| /freebsd-14.2/stand/efi/loader/arch/amd64/ |
| H A D | elf64_freebsd.c | 95 vm_offset_t modulep, kernend, trampcode, trampstack; in elf64_exec() local 108 trampcode = copy_staging == COPY_STAGING_ENABLE ? in elf64_exec() 112 (EFI_PHYSICAL_ADDRESS *)&trampcode); in elf64_exec() 119 bzero((void *)trampcode, EFI_PAGE_SIZE); in elf64_exec() 120 trampstack = trampcode + EFI_PAGE_SIZE - 8; in elf64_exec() 121 bcopy((void *)&amd64_tramp, (void *)trampcode, amd64_tramp_size); in elf64_exec() 122 trampoline = (void *)trampcode; in elf64_exec() 130 BS->FreePages(trampcode, 1); in elf64_exec() 171 BS->FreePages(trampcode, 9); in elf64_exec()
|
| /freebsd-14.2/stand/kboot/kboot/arch/aarch64/ |
| H A D | exec.c | 111 void *trampcode; in elf64_exec() local 180 trampcode = host_getmem(LOADER_PAGE_SIZE); in elf64_exec() 181 if (trampcode == NULL) { in elf64_exec() 185 bzero((void *)trampcode, LOADER_PAGE_SIZE); in elf64_exec() 186 bcopy((void *)&tramp, (void *)trampcode, tramp_size); in elf64_exec() 187 trampoline = (void *)trampcode; in elf64_exec() 270 archsw.arch_copyin((void *)trampcode, kernendp, tramp_size); in elf64_exec()
|