mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target/arm: Make MPU_MAIR0, MPU_MAIR1 registers banked for v8M
Make the MPU registers MPU_MAIR0 and MPU_MAIR1 banked if v8M security extensions are enabled. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 1503414539-28762-13-git-send-email-peter.maydell@linaro.org
This commit is contained in:
parent
45db7ba681
commit
4125e6feb7
4 changed files with 14 additions and 10 deletions
|
@ -229,8 +229,8 @@ static const VMStateDescription vmstate_pmsav8 = {
|
|||
vmstate_info_uint32, uint32_t),
|
||||
VMSTATE_VARRAY_UINT32(env.pmsav8.rlar, ARMCPU, pmsav7_dregion, 0,
|
||||
vmstate_info_uint32, uint32_t),
|
||||
VMSTATE_UINT32(env.pmsav8.mair0, ARMCPU),
|
||||
VMSTATE_UINT32(env.pmsav8.mair1, ARMCPU),
|
||||
VMSTATE_UINT32(env.pmsav8.mair0[M_REG_NS], ARMCPU),
|
||||
VMSTATE_UINT32(env.pmsav8.mair1[M_REG_NS], ARMCPU),
|
||||
VMSTATE_END_OF_LIST()
|
||||
}
|
||||
};
|
||||
|
@ -255,6 +255,8 @@ static const VMStateDescription vmstate_m_security = {
|
|||
VMSTATE_UINT32(env.v7m.faultmask[M_REG_S], ARMCPU),
|
||||
VMSTATE_UINT32(env.v7m.control[M_REG_S], ARMCPU),
|
||||
VMSTATE_UINT32(env.v7m.vecbase[M_REG_S], ARMCPU),
|
||||
VMSTATE_UINT32(env.pmsav8.mair0[M_REG_S], ARMCPU),
|
||||
VMSTATE_UINT32(env.pmsav8.mair1[M_REG_S], ARMCPU),
|
||||
VMSTATE_END_OF_LIST()
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue