Various intrinsics.
Mostly reimplemented CMSIS intrinsics for use in kernel code.
◆ ALWAYS_INLINE
#define ALWAYS_INLINE __attribute__((always_inline)) |
◆ __CLREX()
◆ __DSB()
◆ __get_LR()
Get value of process LR.
- Returns
- top of application stack
◆ __get_PSP()
Get value of process SP.
- Returns
- top of application stack
◆ __ISB()
◆ __LDREXB()
Intrinsic access to ARM LDREXB instruction.
- Parameters
-
- Returns
- 8-bit value read from addr
◆ __set_CONTROL()
◆ __set_PSP()
Set value of process SP.
- Parameters
-
stack_top | new top of application stack |
◆ __STREXB()
static ALWAYS_INLINE int __STREXB |
( |
uint8_t * |
addr, |
|
|
uint8_t |
value |
|
) |
| |
|
inlinestatic |
Intrinsic access to ARM STREXB instruction.
- Parameters
-
addr | address to store to |
value | 8-bit value to be stored to addr |
- Returns
- success flag