![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <stdint.h>
#include <stdbool.h>
#include "os_wrapper/mutex.h"
#include "tfm_api.h"
#include "tfm_ns_interface.h"
Go to the source code of this file.
Functions | |
int32_t | tfm_ns_interface_dispatch (veneer_fn fn, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3) |
NS interface, veneer function dispatcher. More... | |
enum tfm_status_e | tfm_ns_interface_init (void) |
NS interface, Initialise the NS interface. More... | |
int32_t tfm_ns_interface_dispatch | ( | veneer_fn | fn, |
uint32_t | arg0, | ||
uint32_t | arg1, | ||
uint32_t | arg2, | ||
uint32_t | arg3 | ||
) |
NS interface, veneer function dispatcher.
This function implements the dispatching mechanism for the desired veneer function, to be called with the parameters described from arg0 to arg3.
[in] | fn | Function pointer to the veneer function desired |
[in] | arg0 | Argument 0 |
[in] | arg1 | Argument 1 |
[in] | arg2 | Argument 2 |
[in] | arg3 | Argument 3 |
Definition at line 21 of file tfm_ns_interface.c.
enum tfm_status_e tfm_ns_interface_init | ( | void | ) |
NS interface, Initialise the NS interface.
This function needs to be called from the NS world to properly initialise the NS interface towards TF-M. This function will initialise all the objects required for runtime dispatching of TF-M requests to services
Definition at line 43 of file tfm_ns_interface.c.