OSDN Git Service

m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to m68k_move_to/from
authorLucien Murray-Pitts <lucienmp.qemu@gmail.com>
Mon, 1 Feb 2021 00:01:52 +0000 (01:01 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 11 Feb 2021 20:10:01 +0000 (21:10 +0100)
commit5736526ce2da32205022b10dcdf9807e735e451a
treead0a021fed004a90a3a381082185873a8485019e
parent60d8e96453d090f71027f95e47e5ddbe17f670e3
m68k: add missing BUSCR/PCR CR defines, and BUSCR/PCR/CAAR CR to m68k_move_to/from

The BUSCR/PCR CR defines were missing for 68060, and the move_to/from helper
functions were also missing a decode for the 68060 M68K_CR_CAAR CR register.

Added missing defines, and respective decodes for all three CR registers to
the helpers.

Although this patch defines them, the implementation is empty in this patch
and these registers will result in a cpu abort - which is the default prior
to this patch.

This patch aims to reach full coverage of all CR registers within the helpers.

Signed-off-by: Lucien Murray-Pitts <lucienmp.qemu@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <19e5c0fa8baed6479ed0502fd3deb132d19457fb.1612137712.git.balaton@eik.bme.hu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/cpu.h
target/m68k/helper.c