#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
| 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...
|
| |
| void* spm_memcpy |
( |
void * |
dest, |
|
|
const void * |
src, |
|
|
size_t |
n |
|
) |
| |
Memory copy function for TF-M core.
- Parameters
-
| [out] | dest | Destination address of memory |
| [in] | src | Source address of memory |
| [in] | n | Number of bytes to copy |
- Return values
-
| Destination | address of memory |
- Note
- The function is used for copying same-sized object only.
Definition at line 21 of file tfm_core_utils.c.
| void* spm_memset |
( |
void * |
s, |
|
|
int |
c, |
|
|
size_t |
n |
|
) |
| |
Memory set function for TF-M core.
- Parameters
-
| [out] | s | Destination address of memory |
| [in] | c | Value to be written to memory |
| [in] | n | Number of bytes to be wirtten |
- Return values
-
| Destination | address of memory |
Definition at line 59 of file tfm_core_utils.c.