mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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>
This commit is contained in:
parent
e3355a0ca2
commit
c8e8bc85a6
3 changed files with 294 additions and 0 deletions
|
@ -4,4 +4,6 @@
|
|||
|
||||
#define TYPE_NEXTFB "next-fb"
|
||||
|
||||
#define TYPE_NEXTKBD "next-kbd"
|
||||
|
||||
#endif /* NEXT_CUBE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue