Nexus Embedded Platform
1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nonsecure.h
Go to the documentation of this file.
1
6
#ifndef NEXUS_ARCH_NONSECURE_H
7
#define NEXUS_ARCH_NONSECURE_H
8
#include "
nexus/arch/features.h
"
9
#include <stddef.h>
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
14
typedef
enum
{
15
NX_ARCH_NONSECURE_READ
= 0,
16
NX_ARCH_NONSECURE_READWRITE
= 1
17
}
nx_arch_nonsecure_access_t
;
18
39
nx_arch_result_t
nx_arch_nonsecure_check
(
const
void
* address,
size_t
bytes,
40
nx_arch_nonsecure_access_t
access);
41
#ifdef __cplusplus
42
}
43
#endif
44
#endif
/* NEXUS_ARCH_NONSECURE_H */
features.h
Reviewed CPU mechanisms and allocation-free result types.
nx_arch_result_t
nx_arch_result_t
Result of a validated local CPU mechanism operation.
Definition
features.h:16
nx_arch_nonsecure_access_t
nx_arch_nonsecure_access_t
Requested NonSecure unprivileged CPU access, never execute access.
Definition
nonsecure.h:14
NX_ARCH_NONSECURE_READWRITE
@ NX_ARCH_NONSECURE_READWRITE
Definition
nonsecure.h:16
NX_ARCH_NONSECURE_READ
@ NX_ARCH_NONSECURE_READ
Definition
nonsecure.h:15
nx_arch_nonsecure_check
nx_arch_result_t nx_arch_nonsecure_check(const void *address, size_t bytes, nx_arch_nonsecure_access_t access)
Check current NonSecure unprivileged access to a full span.
arch
include
nexus
arch
nonsecure.h
Generated by
1.14.0