Home
last modified time | relevance | path

Searched refs:EFI_SIZE_TO_PAGES (Results 1 – 10 of 10) sorted by relevance

/freebsd/stand/efi/loader/arch/i386/
H A Delf64_freebsd.c140 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 Dtrap.c185 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 Dmultiboot2.c345 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 Dcopy.c316 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 Defi_main.c41 BS->FreePages(heap, EFI_SIZE_TO_PAGES(heapsize)); in efi_exit()
98 EFI_SIZE_TO_PAGES(heapsize), &heap); in efi_main()
H A Dbootinfo.c268 pages = EFI_SIZE_TO_PAGES(sz + efisz); in bi_load_efi_data()
H A Dframebuffer.c667 EFI_SIZE_TO_PAGES(efifb.fb_height * efifb.fb_width * in efi_find_framebuffer()
/freebsd/stand/efi/boot1/
H A Dboot1.c189 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 Defidef.h220 #define EFI_SIZE_TO_PAGES(a) \ macro
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiBaseType.h199 #define EFI_SIZE_TO_PAGES(Size) (((Size) >> EFI_PAGE_SHIFT) + (((Size) & EFI_PAGE_MASK) ? 1 : 0)) macro