summaryrefslogtreecommitdiffstats
path: root/target/nios2
diff options
context:
space:
mode:
authorRichard Henderson2019-03-23 01:16:06 +0100
committerRichard Henderson2019-06-10 16:03:42 +0200
commit5b146dc716cfd247f99556c04e6e46fbd67565a0 (patch)
tree7332e8ee9008dd30c402b3167f809677a1f50b4d /target/nios2
parentcpu: Introduce cpu_set_cpustate_pointers (diff)
downloadqemu-5b146dc716cfd247f99556c04e6e46fbd67565a0.tar.gz
qemu-5b146dc716cfd247f99556c04e6e46fbd67565a0.tar.xz
qemu-5b146dc716cfd247f99556c04e6e46fbd67565a0.zip
cpu: Introduce CPUNegativeOffsetState
Nothing in there so far, but all of the plumbing done within the target ArchCPU state. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2')
-rw-r--r--target/nios2/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h
index c96d797dda..8cc3d4971e 100644
--- a/target/nios2/cpu.h
+++ b/target/nios2/cpu.h
@@ -182,7 +182,9 @@ typedef struct Nios2CPU {
CPUState parent_obj;
/*< public >*/
+ CPUNegativeOffsetState neg;
CPUNios2State env;
+
bool mmu_present;
uint32_t pid_num_bits;
uint32_t tlb_num_ways;