Core register Access functions related to TrustZone for ARMv8-M.
More...
uint32_t __TZ_get_BASEPRI_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Base Priority register when in secure state.
- Returns
- Base Priority register value
- See Also
-
uint32_t __TZ_get_CONTROL_NS |
( |
void |
| ) |
|
Returns the content of the non-secure Control register when in secure mode.
- Returns
- non-secure Control register value
- See Also
-
uint32_t __TZ_get_FAULTMASK_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Fault Mask register when in secure state.
- Returns
- Fault Mask register value
- See Also
-
uint32_t __TZ_get_MSP_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure state.
- Returns
- MSP register value
- See Also
-
uint32_t __TZ_get_MSPLIM_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in secure state.
- Returns
- MSPLIM register value
- Note
- Only available for ARMv8-M Mainline.
uint32_t __TZ_get_PRIMASK_NS |
( |
void |
| ) |
|
Returns the current state of the non-secure priority mask bit from the Priority Mask register when in secure state.
- Returns
- Priority Mask value
- See Also
-
uint32_t __TZ_get_PSP_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure state.
- Returns
- PSP register value
- See Also
-
uint32_t __TZ_get_PSPLIM_NS |
( |
void |
| ) |
|
Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in secure state.
- Returns
- PSPLIM register value
- Note
- Only available for ARMv8-M Mainline.
void __TZ_set_BASEPRI_NS |
( |
uint32_t |
basePri | ) |
|
Assigns the given value to the non-secure Base Priority register when in secure state.
- Parameters
-
[in] | basePri | Base Priority value to set |
- See Also
-
void __TZ_set_CONTROL_NS |
( |
uint32_t |
control | ) |
|
Writes the given value to the non-secure Control register when in secure state.
- Parameters
-
[in] | control | Control register value to set |
- See Also
-
void __TZ_set_FAULTMASK_NS |
( |
uint32_t |
faultMask | ) |
|
Assigns the given value to the non-secure Fault Mask register when in secure state.
- Parameters
-
[in] | faultMask | Fault Mask value to set |
- See Also
-
void __TZ_set_MSP_NS |
( |
uint32_t |
topOfMainStack | ) |
|
Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- Parameters
-
[in] | topOfMainStack | Main Stack Pointer value to set |
- See Also
-
void __TZ_set_MSPLIM_NS |
( |
uint32_t |
MainStackPtrLimit | ) |
|
Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secure state.
- Parameters
-
[in] | MainStackPtrLimit | Main Stack Pointer value to set |
- Note
- Only available for ARMv8-M Mainline.
void __TZ_set_PRIMASK_NS |
( |
uint32_t |
priMask | ) |
|
Assigns the given value to the non-secure Priority Mask register when in secure state.
- Parameters
-
- See Also
-
void __TZ_set_PSP_NS |
( |
uint32_t |
topOfProcStack | ) |
|
Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure state.
- Parameters
-
[in] | topOfProcStack | Process Stack Pointer value to set |
- See Also
-
void __TZ_set_PSPLIM_NS |
( |
uint32_t |
ProcStackPtrLimit | ) |
|
Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in secure state.
- Parameters
-
[in] | ProcStackPtrLimit | Process Stack Pointer Limit value to set |
- Note
- Only available for ARMv8-M Mainline.