]> xenbits.xensource.com Git - qemu-xen.git/commit
target/m68k: add reset
authorLaurent Vivier <laurent@vivier.eu>
Thu, 4 Jan 2018 01:29:07 +0000 (02:29 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 4 Jan 2018 16:24:35 +0000 (17:24 +0100)
commit0bdb2b3bf5660f892ddbfa09baea56cdca57ad1d
tree20429d0f28ad8f2e23d90d1cb90705cd329c0c4f
parentf58ed1c50add3e76331afdc92387c0da9dd9e443
target/m68k: add reset

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 <laurent@vivier.eu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20180104012913.30763-12-laurent@vivier.eu>
target/m68k/helper.c
target/m68k/helper.h
target/m68k/translate.c