1 /* 2 * Copyright (c) 2020, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 #ifndef __SERVICE_API_H__ 8 #define __SERVICE_API_H__ 9 10 #include <stdint.h> 11 #include "tfm_boot_status.h" 12 13 /** 14 * \brief Retrieve secure partition related data from shared memory area, which 15 * stores shared data between bootloader and runtime firmware. 16 * 17 * \param[in] major_type Major type. 18 * \param[out] boot_data Pointer to boot data. 19 * \param[in] len The length of the boot data. 20 */ 21 int32_t tfm_core_get_boot_data(uint8_t major_type, 22 struct tfm_boot_data *boot_data, 23 uint32_t len); 24 25 #endif /* __SERVICE_API_H__ */ 26