#include <zephyr/kernel_structs.h>
#include <zephyr/zsr.h>
Go to the source code of this file.
◆ XTENSA_RSR
Value:
__asm__ volatile ("rsr." sr " %0" : "=a"(v)); \
v; })
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
Read a special register.
- Parameters
-
sr | Name of special register. |
- Returns
- Value of special register.
◆ XTENSA_RUR
Value:
__asm__ volatile ("rur." ur " %0" : "=a"(v)); \
v; })
Read a user register.
- Parameters
-
- Returns
- Value of user register.
◆ XTENSA_WSR
#define XTENSA_WSR |
( |
|
sr, |
|
|
|
v |
|
) |
| |
Value: do { \
__asm__ volatile ("wsr." sr " %0" : : "r"(v)); \
} while (false)
Write to a special register.
- Parameters
-
sr | Name of special register. |
v | Value to be written to special register. |
◆ XTENSA_WUR
#define XTENSA_WUR |
( |
|
ur, |
|
|
|
v |
|
) |
| |
Value: do { \
__asm__ volatile ("wur." ur " %0" : : "r"(v)); \
} while (false)
Write to a user register.
- Parameters
-
ur | Name of user register. |
v | Value to be written to user register. |
◆ arch_curr_cpu()
◆ arch_num_cpus()
◆ arch_proc_id()