Home
last modified time | relevance | path

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

/external/u-boot/lib/efi_loader/
Defi_memory.c99 uint64_t carve_start = carve_desc->physical_start; in efi_mem_carve_out() local
100 uint64_t carve_end = carve_start + in efi_mem_carve_out()
104 if ((carve_end <= map_start) || (carve_start >= map_end)) in efi_mem_carve_out()
112 carve_start = max(carve_start, map_start); in efi_mem_carve_out()
116 if (carve_start == map_start) { in efi_mem_carve_out()
127 return (carve_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
140 newmap->desc.physical_start = carve_start; in efi_mem_carve_out()
141 newmap->desc.num_pages = (map_end - carve_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()
146 map_desc->num_pages = (carve_start - map_start) >> EFI_PAGE_SHIFT; in efi_mem_carve_out()