Zephyr Project API 4.0.99
A Scalable Open Source RTOS
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | read_sysreg32(op1, CRn, CRm, op2) |
#define | write_sysreg32(val, op1, CRn, CRm, op2) |
#define | read_sysreg64(op1, CRm) |
#define | write_sysreg64(val, op1, CRm) |
#define | MAKE_REG_HELPER(reg, op1, CRn, CRm, op2) |
#define | MAKE_REG64_HELPER(reg, op1, CRm) |
#define | write_sysreg(val, reg) write_##reg(val) |
#define | read_sysreg(reg) read_##reg() |
#define | sev() __asm__ volatile("sev" : : : "memory") |
#define | wfe() __asm__ volatile("wfe" : : : "memory") |
#define MAKE_REG64_HELPER | ( | reg, | |
op1, | |||
CRm | |||
) |
#define MAKE_REG_HELPER | ( | reg, | |
op1, | |||
CRn, | |||
CRm, | |||
op2 | |||
) |
#define read_sysreg | ( | reg | ) | read_##reg() |
#define read_sysreg32 | ( | op1, | |
CRn, | |||
CRm, | |||
op2 | |||
) |
#define read_sysreg64 | ( | op1, | |
CRm | |||
) |
#define sev | ( | ) | __asm__ volatile("sev" : : : "memory") |
#define wfe | ( | ) | __asm__ volatile("wfe" : : : "memory") |
#define write_sysreg | ( | val, | |
reg | |||
) | write_##reg(val) |
#define write_sysreg32 | ( | val, | |
op1, | |||
CRn, | |||
CRm, | |||
op2 | |||
) |
#define write_sysreg64 | ( | val, | |
op1, | |||
CRm | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |