TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_nspm.h File Reference
#include <stdint.h>
Include dependency graph for tfm_nspm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define cmse_nsfptr_create(p)   ((intptr_t) (p) & ~1)
 
#define __tfm_nspm_secure_gateway_attributes__   __attribute__((cmse_nonsecure_entry, noclone))
 Attributes for secure gateway functions for NSPM. More...
 

Functions

void tfm_nspm_configure_clients (void)
 initialise the NS context database More...
 
int32_t tfm_nspm_get_current_client_id (void)
 Get the client ID of the current NS client. More...
 
void configure_ns_code (void)
 

Macro Definition Documentation

#define __tfm_nspm_secure_gateway_attributes__   __attribute__((cmse_nonsecure_entry, noclone))

Attributes for secure gateway functions for NSPM.

Definition at line 33 of file tfm_nspm.h.

#define cmse_nsfptr_create (   p)    ((intptr_t) (p) & ~1)

Definition at line 21 of file tfm_nspm.h.

Function Documentation

void configure_ns_code ( void  )

Definition at line 305 of file tfm_nspm_func.c.

void tfm_nspm_configure_clients ( void  )

initialise the NS context database

Definition at line 48 of file tfm_nspm_func.c.

Here is the caller graph for this function:

int32_t tfm_nspm_get_current_client_id ( void  )

Get the client ID of the current NS client.

Returns
The client id of the current NS client. 0 (invalid client id) is returned in case of error.

Definition at line 63 of file tfm_nspm_func.c.

Here is the caller graph for this function: