mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hw/intc/arm_gicv3_kvm: Add ICC_SRE_EL1 register to vmstate
To Save and Restore ICC_SRE_EL1 register introduce vmstate subsection and load only if non-zero. Also initialize icc_sre_el1 with to 0x7 in pre_load function. Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@cavium.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-id: 1487850673-26455-3-git-send-email-vijay.kilari@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
3a5eb5b4a9
commit
6692aac411
2 changed files with 37 additions and 0 deletions
|
@ -172,6 +172,7 @@ struct GICv3CPUState {
|
|||
uint8_t gicr_ipriorityr[GIC_INTERNAL];
|
||||
|
||||
/* CPU interface */
|
||||
uint64_t icc_sre_el1;
|
||||
uint64_t icc_ctlr_el1[2];
|
||||
uint64_t icc_pmr_el1;
|
||||
uint64_t icc_bpr[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue