Home
last modified time | relevance | path

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

/device/linaro/bootloader/arm-trusted-firmware/common/
Dbl_common.c78 static int is_mem_free(uint64_t free_base, size_t free_size, in is_mem_free() argument
81 return (addr >= free_base) && (addr + size <= free_base + free_size); in is_mem_free()
119 void reserve_mem(uint64_t *free_base, size_t *free_size, in reserve_mem() argument
126 assert(free_base != NULL); in reserve_mem()
128 assert(is_mem_free(*free_base, *free_size, addr, size)); in reserve_mem()
130 pos = choose_mem_pos(*free_base, *free_base + *free_size, in reserve_mem()
138 *free_base = addr + size; in reserve_mem()
154 INFO(" free region = [0x%lx, 0x%lx]\n", mem_layout->free_base, in dump_load_info()
155 mem_layout->free_base + mem_layout->free_size); in dump_load_info()
257 if (!is_mem_free(mem_layout->free_base, mem_layout->free_size, in load_image()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/
Dbl1_fvp_setup.c85 bl1_tzram_layout.free_base = FVP_TRUSTED_SRAM_BASE; in bl1_early_platform_setup()
87 reserve_mem(&bl1_tzram_layout.free_base, in bl1_early_platform_setup()
Dbl2_fvp_setup.c274 bl32_meminfo->free_base = BL32_BASE; in bl2_plat_get_bl32_meminfo()
289 bl33_meminfo->free_base = DRAM1_NS_BASE; in bl2_plat_get_bl33_meminfo()
/device/linaro/bootloader/arm-trusted-firmware/bl1/
Dbl1_main.c88 assert((BL1_RAM_LIMIT <= bl1_mem_layout->free_base) || in bl1_init_bl2_mem_layout()
89 (BL1_RAM_BASE >= bl1_mem_layout->free_base + bl1_mem_layout->free_size)); in bl1_init_bl2_mem_layout()
208 bl2_tzram_layout = (meminfo_t *) bl1_tzram_layout->free_base; in bl1_main()
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/
Dbl1_plat_setup.c95 bl1_tzram_layout.free_base = TZRAM_BASE; in bl1_early_platform_setup()
97 reserve_mem(&bl1_tzram_layout.free_base, in bl1_early_platform_setup()
Dbl2_plat_setup.c308 bl32_meminfo->free_base = BL32_BASE; in bl2_plat_get_bl32_meminfo()
323 bl33_meminfo->free_base = DRAM_NS_BASE; in bl2_plat_get_bl33_meminfo()
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dbl2_plat_setup.c233 bl30_meminfo->free_base = BL30_BASE; in bl2_plat_get_bl30_meminfo()
351 bl32_meminfo->free_base = BL32_BASE; in bl2_plat_get_bl32_meminfo()
365 bl33_meminfo->free_base = DRAM_NS_BASE; in bl2_plat_get_bl33_meminfo()
Dbl1_plat_setup.c108 bl1_tzram_layout.free_base = BL1_RW_BASE; in bl1_early_platform_setup()
110 reserve_mem(&bl1_tzram_layout.free_base, in bl1_early_platform_setup()
/device/linaro/bootloader/arm-trusted-firmware/include/common/
Dbl_common.h118 uint64_t free_base; member
228 void reserve_mem(uint64_t *free_base, size_t *free_size,
/device/linaro/bootloader/arm-trusted-firmware/services/spd/opteed/
Dopteed_main.c139 static int is_mem_free(uint64_t free_base, size_t free_size, in is_mem_free() argument
142 return (addr >= free_base) && (addr + size <= free_base + free_size); in is_mem_free()
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dporting-guide.md595 meminfo.free_base = Base address of secure RAM available for
661 meminfo.free_base = Base address of secure RAM available for allocation