On 01/02/2018 03:41 PM, Laurent Vivier wrote: > 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 <laur...@vivier.eu> > --- > > Notes: > v6: use cpu_m68k_set_sr() to set SR in GDB stub and in m68k_cpu_reset() > > target/m68k/cpu.c | 8 ++--- > target/m68k/cpu.h | 70 ++++++++++++++++++++++++++++++++++++++++- > target/m68k/gdbstub.c | 2 +- > target/m68k/helper.c | 82 > ++++++++++++++++++++++++++++++++++++++++++++----- > target/m68k/helper.h | 4 ++- > target/m68k/monitor.c | 1 + > target/m68k/translate.c | 40 ++++++++++++++++++++++-- > 7 files changed, 190 insertions(+), 17 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~