mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target-arm: Implement AArch64 SCTLR_EL1
Implement the AArch64 view of the system control register SCTLR_EL1. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
This commit is contained in:
parent
b0fe242751
commit
5ebafdf31a
2 changed files with 3 additions and 2 deletions
|
@ -1948,7 +1948,8 @@ void register_cp_regs_for_features(ARMCPU *cpu)
|
|||
/* Generic registers whose values depend on the implementation */
|
||||
{
|
||||
ARMCPRegInfo sctlr = {
|
||||
.name = "SCTLR", .cp = 15, .crn = 1, .crm = 0, .opc1 = 0, .opc2 = 0,
|
||||
.name = "SCTLR", .state = ARM_CP_STATE_BOTH,
|
||||
.opc0 = 3, .crn = 1, .crm = 0, .opc1 = 0, .opc2 = 0,
|
||||
.access = PL1_RW, .fieldoffset = offsetof(CPUARMState, cp15.c1_sys),
|
||||
.writefn = sctlr_write, .resetvalue = cpu->reset_sctlr,
|
||||
.raw_writefn = raw_write,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue