hw/m68k: implement ADB bus support for via
commit87a34e2adb03ca4120ef1e69ad5fe75d65c88b24
authorLaurent Vivier <laurent@vivier.eu>
Sat, 26 Oct 2019 16:45:41 +0000 (26 18:45 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 28 Oct 2019 18:06:45 +0000 (28 19:06 +0100)
treefb930f9eb093209130abb440d208ac4ea8fc5209
parent6dca62a0000f95e0b7020aa00d0ca9b2c421f341
hw/m68k: implement ADB bus support for via

VIA needs to be able to poll the ADB interface and to read/write data
from/to the bus.

This patch adds functions allowing that.

Co-developed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20191026164546.30020-7-laurent@vivier.eu>
hw/misc/Kconfig
hw/misc/mac_via.c
include/hw/misc/mac_via.h