1 /* 2 * Copyright (c) 2021, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef __RAMLOAD_H__ 8 #define __RAMLOAD_H__ 9 10 #include <stdint.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 #ifdef MULTIPLE_EXECUTABLE_RAM_REGIONS 17 /** 18 * Provides information about the Executable RAM for a given image ID. 19 * 20 * @param image_id Index of the image (from 0). 21 * @param exec_ram_start Pointer to store the start address of the exec RAM 22 * @param exec_ram_size Pointer to store the size of the exec RAM 23 * 24 * @return 0 on success; nonzero on failure. 25 */ 26 int boot_get_image_exec_ram_info(uint32_t image_id, 27 uint32_t *exec_ram_start, 28 uint32_t *exec_ram_size); 29 #endif 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* __RAMLOAD_H__ */