Home
last modified time | relevance | path

Searched refs:EFI_PAGE_SHIFT (Results 1 – 16 of 16) sorted by relevance

/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_memory.c101 return desc->physical_start + (desc->num_pages << EFI_PAGE_SHIFT); in desc_get_end()
135 prev->physical_start -= pages << EFI_PAGE_SHIFT; in efi_mem_sort()
136 prev->virtual_start -= pages << EFI_PAGE_SHIFT; in efi_mem_sort()
176 uint64_t map_end = map_start + (map_desc->num_pages << EFI_PAGE_SHIFT); in efi_mem_carve_out()
179 (carve_desc->num_pages << EFI_PAGE_SHIFT); in efi_mem_carve_out()
203 >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
206 return (carve_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
221 newmap->desc.num_pages = (map_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
226 map_desc->num_pages = (carve_start - map_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
367 u64 end = start + (item->desc.num_pages << EFI_PAGE_SHIFT); in efi_check_allocated()
[all …]
Defi_runtime.c502 + (map->num_pages << EFI_PAGE_SHIFT))) { in efi_convert_pointer()
608 (map->num_pages << EFI_PAGE_SHIFT)))) { in efi_runtime_relocate()
706 efi_physical_addr_t map_len = map->num_pages << EFI_PAGE_SHIFT; in efi_set_virtual_address_map()
766 u64 pages = (len + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_runtime_mmio()
Defi_image_loader.c123 int type = *relocs >> EFI_PAGE_SHIFT; in efi_loader_relocate()
330 (virt_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT); in efi_load_pe()
/third_party/uboot/u-boot-2020.01/arch/x86/cpu/efi/
Dpayload.c61 if (!largest || (largest->num_pages << EFI_PAGE_SHIFT) < (2 << 20)) in board_get_usable_ram_top()
65 EFI_PAGE_SHIFT); in board_get_usable_ram_top()
91 gd->ram_size += desc->num_pages << EFI_PAGE_SHIFT; in dram_init()
120 (desc->num_pages << EFI_PAGE_SHIFT) < 1 << 20) in dram_init_banksize()
124 EFI_PAGE_SHIFT; in dram_init_banksize()
239 last_entry->size += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()
240 last_end_addr += (desc->num_pages << EFI_PAGE_SHIFT); in install_e820_map()
247 entries[num_entries].size <<= EFI_PAGE_SHIFT; in install_e820_map()
/third_party/uboot/u-boot-2020.01/cmd/
Defi.c116 EFI_PAGE_SHIFT); in efi_build_mem_table()
150 size = desc->num_pages << EFI_PAGE_SHIFT; in efi_print_mem_table()
Dbootefi.c116 fdt_size = fdt_pages << EFI_PAGE_SHIFT; in copy_fdt()
/third_party/uboot/u-boot-2020.01/include/
Defi.h196 #define EFI_PAGE_SHIFT 12 macro
197 #define EFI_PAGE_SIZE (1ULL << EFI_PAGE_SHIFT)
Defi_loader.h472 #define efi_size_in_pages(size) ((size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT)
/third_party/uboot/u-boot-2020.01/arch/x86/lib/
De820.c81 >> EFI_PAGE_SHIFT; in efi_add_known_memory()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-meson/
Dboard-common.c73 ALIGN(size, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in meson_board_add_reserved_memory()
/third_party/uboot/u-boot-2020.01/lib/efi_selftest/
Defi_selftest_memory.c75 (entry->num_pages << EFI_PAGE_SHIFT)) { in find_in_memory_map()
/third_party/uboot/u-boot-2020.01/drivers/video/meson/
Dmeson_vpu.c186 efi_add_memory_map(meson_fb.base, meson_fb.fb_size >> EFI_PAGE_SHIFT, in meson_vpu_rsv_fb()
/third_party/uboot/u-boot-2020.01/drivers/video/sunxi/
Dsunxi_de2.c228 (1 << l2bpp) / 8, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in sunxi_de2_init()
Dsunxi_display.c1230 EFI_PAGE_SHIFT,
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/fsl-layerscape/
Dfdt.c140 ALIGN(*boot_code_size, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT, in ft_fixup_cpu()
Dcpu.c1540 pages = (ram_size + EFI_PAGE_MASK) >> EFI_PAGE_SHIFT; in efi_add_known_memory()