Added oslar_write function to OSLAR_EL1 sysreg, using a status variable
in ARMCPUState.cp15 struct (oslsr_el1). This variable is also linked
to the newly added read-only OSLSR_EL1 register.
Linux reads from this register during its suspend/resume procedure.
Signed-off-by: Davorin Mista
Added oslar_write function to OSLAR_EL1 sysreg, using a status variable
in ARMCPUState.cp15 struct (oslsr_el1). This variable is also linked
to the newly added read-only OSLSR_EL1 register.
Linux reads from this register during its suspend/resume procedure.
Signed-off-by: Davorin Mista
SUPPRESS_TB_END 8
#define ARM_CP_OVERRIDE 16
#define ARM_CP_NO_MIGRATE 32
#define ARM_CP_IO 64
Cheers,
Davorin
On 10/05/2015 01:27 PM, Peter Maydell wrote:
On 5 October 2015 at 20:56, Davorin Mista wrote:
Added oslsr_write function to OSLAR_EL1 sysreg, using a status variable
in ARMCPUState struct (os_l
Added oslsr_write function to OSLAR_EL1 sysreg, using a status variable
in ARMCPUState struct (os_lock_status).
Linux reads from this register during its suspend/resume procedure.
Signed-off-by: Davorin Mista
---
Changed in v2:
-switched from using dummy registers to an actual register
On 09/23/2015 09:07 AM, Peter Maydell wrote:
On 22 September 2015 at 11:35, Davorin Mista wrote:
Define a dummy version of the AArch64 OSLAR_EL1 system register
Should read "OSLSR_EL1" :-)
Yes, sorry about that :)
which just ignores reads.
Linux reads from this register
Define a dummy version of the AArch64 OSLAR_EL1 system register
which just ignores reads.
Linux reads from this register during its suspend/resume procedure.
Signed-off-by: Davorin Mista
---
target-arm/helper.c | 4
1 file changed, 4 insertions(+)
diff --git a/target-arm/helper.c b