diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-01-04 02:29:12 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-01-04 17:24:35 +0100 |
commit | 6e22b28e22aa6ed1b8db6f24da2633868019d4c9 (patch) | |
tree | 706100b008229562e49fdff19ad71e2861763e38 /target/m68k/monitor.c | |
parent | b5ae1edc294f78865ede38377c0a9b92da4370e0 (diff) | |
download | qemu-6e22b28e22aa6ed1b8db6f24da2633868019d4c9.zip qemu-6e22b28e22aa6ed1b8db6f24da2633868019d4c9.tar.gz qemu-6e22b28e22aa6ed1b8db6f24da2633868019d4c9.tar.bz2 |
target/m68k: add the Interrupt Stack Pointer
Add the third stack pointer, the Interrupt Stack Pointer (ISP)
(680x0 only). This stack will be needed in softmmu mode.
Update movec to set/get the value of the three stacks.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180104012913.30763-17-laurent@vivier.eu>
Diffstat (limited to 'target/m68k/monitor.c')
-rw-r--r-- | target/m68k/monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/m68k/monitor.c b/target/m68k/monitor.c index 5605323..52781e8 100644 --- a/target/m68k/monitor.c +++ b/target/m68k/monitor.c @@ -30,6 +30,7 @@ static const MonitorDef monitor_defs[] = { { "sr", offsetof(CPUM68KState, sr) }, { "ssp", offsetof(CPUM68KState, sp[0]) }, { "usp", offsetof(CPUM68KState, sp[1]) }, + { "isp", offsetof(CPUM68KState, sp[2]) }, { NULL }, }; |