Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
security.h
Go to the documentation of this file.
1
8#ifndef NEXUS_ARCH_SECURITY_H
9#define NEXUS_ARCH_SECURITY_H
10#include "nexus/arch/features.h"
11#ifdef __cplusplus
12extern "C" {
13#endif
15typedef struct {
16 uint32_t base;
17 uint32_t limit;
20
21typedef struct {
22 uint32_t rbar;
23 uint32_t rlar;
25
48 nx_arch_sau_words_t* words);
67 const nx_arch_sau_region_t* region);
79#ifdef __cplusplus
80}
81#endif
82#endif
Reviewed CPU mechanisms and allocation-free result types.
nx_arch_result_t
Result of a validated local CPU mechanism operation.
Definition features.h:16
nx_arch_security_state_t
Security state compiled for this firmware image.
Definition features.h:23
nx_arch_result_t nx_arch_sau_clear(uint32_t index)
Disable one owned SAU region while the SAU is disabled.
nx_arch_security_state_t nx_arch_security_state(void)
Query this image's compiled security state.
nx_arch_result_t nx_arch_sau_encode(const nx_arch_sau_region_t *region, nx_arch_sau_words_t *words)
Encode an explicit SAU region without hardware access.
nx_arch_result_t nx_arch_sau_write(uint32_t index, const nx_arch_sau_region_t *region)
Program one owned SAU region while the SAU is disabled.
Exact 32-byte-aligned SAU region owned by the Secure caller.
Definition security.h:15
Validated SAU words; encoding never changes hardware.
Definition security.h:21