Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SIZE (Results 1 – 7 of 7) sorted by relevance

/DragonStub/apps/
H A Dalignedmem.c37 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
40 memory_type, size / EFI_PAGE_SIZE + slack, in efi_allocate_pages_aligned()
48 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
H A Dmem.c97 EfiLoaderData, DIV_ROUND_UP(size, EFI_PAGE_SIZE), in efi_allocate_pages()
123 u32 pagecount = DIV_ROUND_UP(size, EFI_PAGE_SIZE); in efi_allocate_pages_exact()
158 nr_pages = round_up(size, EFI_ALLOC_ALIGN) / EFI_PAGE_SIZE; in efi_free()
H A Delf.c182 u64 end = md->PhysicalStart + md->NumberOfPages * EFI_PAGE_SIZE; in check_image_region()
283 if (phdr->p_align & !EFI_PAGE_SIZE) { in efi_allocate_kernel_memory()
285 EFI_PAGE_SIZE, phdr->p_align); in efi_allocate_kernel_memory()
357 if (phdr->p_align & !EFI_PAGE_SIZE) { in load_program()
359 EFI_PAGE_SIZE, phdr->p_align); in load_program()
H A Dstub.c228 size = in->NumberOfPages * EFI_PAGE_SIZE; in efi_get_virtmap()
/DragonStub/inc/
H A Defidef.h237 #define EFI_PAGE_SIZE 4096 macro
H A Defidebug.h548 #define EFI_DEBUG_IMAGE_INFO_INITIAL_SIZE (EFI_PAGE_SIZE / sizeof (UINTN))
/DragonStub/inc/dragonstub/
H A Ddragonstub.h279 #define EFI_ALLOC_ALIGN EFI_PAGE_SIZE