|
Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
|
Local security-state and explicit SAU region mechanisms. More...
#include "nexus/arch/features.h"Go to the source code of this file.
Data Structures | |
| struct | nx_arch_sau_region_t |
| Exact 32-byte-aligned SAU region owned by the Secure caller. More... | |
| struct | nx_arch_sau_words_t |
| Validated SAU words; encoding never changes hardware. More... | |
Functions | |
| 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. | |
| nx_arch_result_t | nx_arch_sau_clear (uint32_t index) |
| Disable one owned SAU region while the SAU is disabled. | |
Local security-state and explicit SAU region mechanisms.
Definition in file security.h.
| nx_arch_result_t nx_arch_sau_clear | ( | uint32_t | index | ) |
Disable one owned SAU region while the SAU is disabled.
| [in] | index | Region index below the actual hardware TYPE count. |
| 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.
| [in] | region | Base aligned to 32 bytes; inclusive limit ending at a complete 32-byte boundary. Base must not exceed limit. |
| [out] | words | Encoded region, unchanged on failure. |
| 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.
| [in] | index | Region index below the actual hardware TYPE count. |
| [in] | region | Explicit reviewed region and NSC permission. |
| nx_arch_security_state_t nx_arch_security_state | ( | void | ) |
Query this image's compiled security state.