Home
last modified time | relevance | path

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

/third_party/uboot/u-boot-2020.01/test/lib/
Dlmb.c55 const phys_addr_t ram_end = ram + ram_size; in test_multi_alloc() local
63 ut_assert(ram_end == 0 || ram_end > ram); in test_multi_alloc()
67 ut_assert(alloc_64k_end <= ram_end - 8); in test_multi_alloc()
99 ut_asserteq(a, ram_end - 4); in test_multi_alloc()
101 ram_end - 4, 4, 0, 0); in test_multi_alloc()
106 alloc_64k_addr - 4, 0x10000 + 4, ram_end - 4, 4, 0, 0); in test_multi_alloc()
110 ut_asserteq(c, ram_end - 8); in test_multi_alloc()
112 alloc_64k_addr - 4, 0x10000 + 4, ram_end - 8, 8, 0, 0); in test_multi_alloc()
116 alloc_64k_addr - 8, 0x10000 + 8, ram_end - 8, 8, 0, 0); in test_multi_alloc()
121 alloc_64k_addr - 8, 0x10000 + 8, ram_end - 8, 4, 0, 0); in test_multi_alloc()
[all …]
/third_party/lwip/src/core/
Dmem.c386 static struct mem *ram_end; variable
480 LWIP_ASSERT("plug_holes: mem < ram_end", (u8_t *)mem < (u8_t *)ram_end); in plug_holes()
487 if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { in plug_holes()
531 ram_end = ptr_to_mem(MEM_SIZE_ALIGNED); in mem_init()
532 ram_end->used = 1; in mem_init()
533 ram_end->next = MEM_SIZE_ALIGNED; in mem_init()
534 ram_end->prev = MEM_SIZE_ALIGNED; in mem_init()
560 ((nmem != ram_end) && (nmem->prev != rmem_idx))) { in mem_link_valid()
583 ((u8_t *)mem > ram) && (mem < ram_end); in mem_sanity()
638 if ((u8_t *)mem < ram || (u8_t *)rmem + MIN_SIZE_ALIGNED > (u8_t *)ram_end) { in mem_free()
[all …]
/third_party/uboot/u-boot-2020.01/lib/efi_loader/
Defi_memory.c667 efi_status_t efi_add_conventional_memory_map(u64 ram_start, u64 ram_end, in efi_add_conventional_memory_map() argument
673 ram_end &= ~EFI_PAGE_MASK; in efi_add_conventional_memory_map()
676 if (ram_end <= ram_start) { in efi_add_conventional_memory_map()
681 pages = (ram_end - ram_start) >> EFI_PAGE_SHIFT; in efi_add_conventional_memory_map()
696 } else if ((ram_top >= ram_start) && (ram_top < ram_end)) { in efi_add_conventional_memory_map()
698 pages = (ram_end - ram_top) >> EFI_PAGE_SHIFT; in efi_add_conventional_memory_map()
724 u64 ram_end, ram_start; in efi_add_known_memory() local
727 ram_end = ram_start + gd->bd->bi_dram[i].size; in efi_add_known_memory()
729 efi_add_conventional_memory_map(ram_start, ram_end, ram_top); in efi_add_known_memory()
/third_party/uboot/u-boot-2020.01/include/
Defi_loader.h495 efi_status_t efi_add_conventional_memory_map(u64 ram_start, u64 ram_end,