TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
service_api.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #include "cmsis_compiler.h"
9 #include "service_api.h"
10 #include "tfm/tfm_core_svc.h"
11 
12 __attribute__((naked))
13 int32_t tfm_core_get_boot_data(uint8_t major_type,
14  struct tfm_boot_data *boot_status,
15  uint32_t len)
16 {
17  __ASM volatile(
18  "SVC %0\n"
19  "BX lr\n"
20  : : "I" (TFM_SVC_GET_BOOT_DATA));
21 }
int32_t tfm_core_get_boot_data(uint8_t major_type, struct tfm_boot_data *boot_status, uint32_t len)
Retrieve secure partition related data from shared memory area, which stores shared data between boot...
Definition: service_api.c:13
Store the data for the runtime SW.