mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-23 23:23:02 +00:00
cpu_regs.h: Add IPI and VM timer reg defines
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
e484d6df70
commit
48c7fc725b
1 changed files with 14 additions and 0 deletions
|
@ -160,3 +160,17 @@
|
||||||
|
|
||||||
#define SYS_IMP_APL_VBAR_GL12 sys_reg(3, 6, 15, 9, 2)
|
#define SYS_IMP_APL_VBAR_GL12 sys_reg(3, 6, 15, 9, 2)
|
||||||
#define SYS_IMP_APL_SP_GL12 sys_reg(3, 6, 15, 10, 0)
|
#define SYS_IMP_APL_SP_GL12 sys_reg(3, 6, 15, 10, 0)
|
||||||
|
|
||||||
|
/* VM registers */
|
||||||
|
#define SYS_VM_TMR_FIQ_ENA_EL2 sys_reg(3, 5, 15, 1, 3)
|
||||||
|
#define VM_TMR_FIQ_ENA_ENA_V BIT(0)
|
||||||
|
#define VM_TMR_FIQ_ENA_ENA_P BIT(1)
|
||||||
|
|
||||||
|
/* IPI registers */
|
||||||
|
#define SYS_IPI_RR_LOCAL_EL1 sys_reg(3, 5, 15, 0, 0)
|
||||||
|
#define SYS_IPI_RR_GLOBAL_EL1 sys_reg(3, 5, 15, 0, 1)
|
||||||
|
|
||||||
|
#define SYS_IPI_SR_EL1 sys_reg(3, 5, 15, 1, 1)
|
||||||
|
#define IPI_SR_PENDING BIT(0)
|
||||||
|
|
||||||
|
#define SYS_IPI_CR_EL1 sys_reg(3, 5, 15, 3, 1)
|
||||||
|
|
Loading…
Reference in a new issue