Summer Qin | 9c1fba1 | 2020-08-12 15:49:12 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __TFM_BOOT_DATA_H__ |
| 9 | #define __TFM_BOOT_DATA_H__ |
| 10 | |
| 11 | #include <stdint.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] args Pointer to stack frame, which carries input parameters. |
| 18 | */ |
| 19 | void tfm_core_get_boot_data_handler(uint32_t args[]); |
| 20 | |
| 21 | /** |
| 22 | * \brief Validate the content of shared memory area, which stores the shared |
| 23 | * data between bootloader and runtime firmware. |
| 24 | */ |
| 25 | void tfm_core_validate_boot_data(void); |
| 26 | |
| 27 | #endif /* __TFM_BOOT_DATA_H__ */ |