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

Go to the source code of this file.

Functions

void * spm_memcpy (void *dest, const void *src, size_t n)
 Memory copy function for TF-M core. More...
 
void * spm_memset (void *s, int c, size_t n)
 Memory set function for TF-M core. More...
 

Function Documentation

void* spm_memcpy ( void *  dest,
const void *  src,
size_t  n 
)

Memory copy function for TF-M core.

Parameters
[out]destDestination address of memory
[in]srcSource address of memory
[in]nNumber of bytes to copy
Return values
Destinationaddress of memory
Note
The function is used for copying same-sized object only.

Definition at line 21 of file tfm_core_utils.c.

Here is the caller graph for this function:

void* spm_memset ( void *  s,
int  c,
size_t  n 
)

Memory set function for TF-M core.

Parameters
[out]sDestination address of memory
[in]cValue to be written to memory
[in]nNumber of bytes to be wirtten
Return values
Destinationaddress of memory

Definition at line 59 of file tfm_core_utils.c.

Here is the caller graph for this function: