Re: [Qemu-devel] [PATCH v5 11/17] target/m68k: add reset

2018-01-02 Thread Richard Henderson
On 01/01/2018 05:10 PM, Laurent Vivier wrote: > The instruction traps if the CPU is not in > Supervisor state but the helper is empty because > there is no easy way to reset all the peripherals > without resetting the CPU itself. > > Signed-off-by: Laurent Vivier > --- > target/m68k/helper.c

[Qemu-devel] [PATCH v5 11/17] target/m68k: add reset

2018-01-01 Thread Laurent Vivier
The instruction traps if the CPU is not in Supervisor state but the helper is empty because there is no easy way to reset all the peripherals without resetting the CPU itself. Signed-off-by: Laurent Vivier --- target/m68k/helper.c| 7 +++ target/m68k/helper.h| 4 target/m68k/t