diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-06-18 20:27:05 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-06-26 18:25:09 +0000 |
commit | 4d2c2b77f3d0c59642dd2ce799a0fb4c2a91aca8 (patch) | |
tree | 5d4c3ab00b8f2beb54cabf241f4d5e3d0bd82049 /target-sparc/cpu.h | |
parent | af2be2077734e0ebfc8afbe6caf0f89a1474eef2 (diff) | |
download | hqemu-4d2c2b77f3d0c59642dd2ce799a0fb4c2a91aca8.zip hqemu-4d2c2b77f3d0c59642dd2ce799a0fb4c2a91aca8.tar.gz |
Sparc32: dummy implementation of MXCC MMU breakpoint registers
Add dummy registers for SuperSPARC MXCC MMU counter breakpoints, save
and load all MXCC registers.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-sparc/cpu.h')
-rw-r--r-- | target-sparc/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-sparc/cpu.h b/target-sparc/cpu.h index 320530e..a220bf4 100644 --- a/target-sparc/cpu.h +++ b/target-sparc/cpu.h @@ -403,6 +403,8 @@ typedef struct CPUSPARCState { uint32_t mmuregs[32]; uint64_t mxccdata[4]; uint64_t mxccregs[8]; + uint32_t mmubpctrv, mmubpctrc, mmubpctrs; + uint64_t mmubpaction; uint64_t mmubpregs[4]; uint64_t prom_addr; #endif @@ -521,7 +523,7 @@ int cpu_sparc_signal_handler(int host_signum, void *pinfo, void *puc); #define cpu_signal_handler cpu_sparc_signal_handler #define cpu_list sparc_cpu_list -#define CPU_SAVE_VERSION 6 +#define CPU_SAVE_VERSION 7 /* MMU modes definitions */ #if defined (TARGET_SPARC64) |