mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
target-arm: add SCTLR_EL3 and make SCTLR banked
Implements SCTLR_EL3 and uses secure/non-secure instance when needed. Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch> Signed-off-by: Greg Bellows <greg.bellows@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1416242878-876-14-git-send-email-greg.bellows@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
e89e51a17e
commit
137feaa9a1
5 changed files with 59 additions and 35 deletions
|
@ -178,7 +178,15 @@ typedef struct CPUARMState {
|
|||
struct {
|
||||
uint32_t c0_cpuid;
|
||||
uint64_t c0_cssel; /* Cache size selection. */
|
||||
uint64_t c1_sys; /* System control register. */
|
||||
union { /* System control register. */
|
||||
struct {
|
||||
uint64_t _unused_sctlr;
|
||||
uint64_t sctlr_ns;
|
||||
uint64_t hsctlr;
|
||||
uint64_t sctlr_s;
|
||||
};
|
||||
uint64_t sctlr_el[4];
|
||||
};
|
||||
uint64_t c1_coproc; /* Coprocessor access register. */
|
||||
uint32_t c1_xscaleauxcr; /* XScale auxiliary control register. */
|
||||
uint64_t sder; /* Secure debug enable register. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue