]> git.proxmox.com Git - mirror_qemu.git/commit
m68k: Add NeXTcube keyboard device
authorThomas Huth <huth@tuxfamily.org>
Sat, 30 Jun 2018 05:50:23 +0000 (07:50 +0200)
committerThomas Huth <huth@tuxfamily.org>
Sat, 7 Sep 2019 06:31:33 +0000 (08:31 +0200)
commitc8e8bc85a6ba106ad4fd92468f6ef726200ab1ca
tree374a6c76974d4bb135824742c275624655624d45
parente3355a0ca2d82acc1d65e370284b503e178fa41a
m68k: Add NeXTcube keyboard device

It is likely still quite incomplete (e.g. mouse and interrupts are not
implemented yet), but it is good enough for keyboard input at the firmware
monitor.
This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at

 https://github.com/blanham/qemu-NeXT/blob/next-cube/hw/next-kbd.c

and altered to fit the latest interface of the current QEMU (e.g. to use
memory_region_init_io() instead of cpu_register_physical_memory()).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190831074519.32613-3-huth@tuxfamily.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/Makefile.objs
hw/m68k/next-kbd.c [new file with mode: 0644]
include/hw/m68k/next-cube.h