Searched refs:EFI_SIZE_TO_PAGES (Results 1 – 10 of 10) sorted by relevance
/freebsd/stand/efi/loader/arch/i386/ |
H A D | elf64_freebsd.c | 140 EFI_SIZE_TO_PAGES(amd64_tramp_size + 32), &ptr); in elf64_exec() 152 EFI_SIZE_TO_PAGES(sizeof(struct gdtr) + sizeof(uint64_t) * 2), &ptr); in elf64_exec() 170 EFI_SIZE_TO_PAGES(512 * 3 * sizeof(uint64_t)), &ptr); in elf64_exec() 207 EFI_SIZE_TO_PAGES(512 * 9 * sizeof(uint64_t)), &ptr); in elf64_exec()
|
/freebsd/stand/efi/loader/arch/amd64/ |
H A D | trap.c | 185 BS->FreePages(lidt_pa, EFI_SIZE_TO_PAGES(fw_idt.rd_limit)); in free_tables() 193 BS->FreePages(tss_pa, EFI_SIZE_TO_PAGES(sizeof(struct in free_tables() 215 EFI_SIZE_TO_PAGES(sizeof(struct amd64tss)), &tss_pa); in efi_setup_tss() 252 EFI_SIZE_TO_PAGES(fw_idt.rd_limit), &lidt_pa); in efi_redirect_exceptions() 303 EFI_SIZE_TO_PAGES(loader_gdt.rd_limit), in efi_redirect_exceptions()
|
H A D | multiboot2.c | 345 EFI_SIZE_TO_PAGES(PAGE_SIZE), &addr); in exec() 353 EFI_SIZE_TO_PAGES(128 * 1024), &stack); in exec() 489 BS->FreePages(addr, EFI_SIZE_TO_PAGES(PAGE_SIZE)); in exec() 491 BS->FreePages(stack, EFI_SIZE_TO_PAGES(128 * 1024)); in exec()
|
/freebsd/stand/efi/loader/ |
H A D | copy.c | 316 nr_pages = EFI_SIZE_TO_PAGES(M(1) * ess); in efi_copy_init() 386 nr_pages = EFI_SIZE_TO_PAGES(end - staging_end); in efi_check_space() 414 nr_pages = EFI_SIZE_TO_PAGES(staging_base - addr); in efi_check_space() 431 nr_pages = EFI_SIZE_TO_PAGES(end - (vm_offset_t)staging); in efi_check_space()
|
H A D | efi_main.c | 41 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize)); in efi_exit() 98 EFI_SIZE_TO_PAGES(heapsize), &heap); in efi_main()
|
H A D | bootinfo.c | 268 pages = EFI_SIZE_TO_PAGES(sz + efisz); in bi_load_efi_data()
|
H A D | framebuffer.c | 667 EFI_SIZE_TO_PAGES(efifb.fb_height * efifb.fb_width * in efi_find_framebuffer()
|
/freebsd/stand/efi/boot1/ |
H A D | boot1.c | 189 EFI_SIZE_TO_PAGES(heapsize), &heap); in efi_main() 295 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize)); in efi_exit()
|
/freebsd/stand/efi/include/ |
H A D | efidef.h | 220 #define EFI_SIZE_TO_PAGES(a) \ macro
|
/freebsd/sys/contrib/edk2/Include/Uefi/ |
H A D | UefiBaseType.h | 199 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0)) macro
|