From b7827a5aaaf501f494947e2307ced9a78e2bc220 Mon Sep 17 00:00:00 2001 From: Chris Emmons Date: Mon, 7 Jan 2013 13:05:35 -0500 Subject: [PATCH] config: Replace second keyboard with a mouse. The platform has two KMI devices that are both setup to be keyboards. This patch changes the second keyboard to a mouse. This patch will allow keyboard input as usual and additionally provide mouse support. --- src/dev/arm/RealView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 87d4d9b16..51a82f438 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -345,7 +345,7 @@ class VExpress_EMM(RealView): timer1 = Sp804(int_num0=35, int_num1=35, pio_addr=0x1C120000, clock0='1MHz', clock1='1MHz') clcd = Pl111(pio_addr=0x1c1f0000, int_num=46) kmi0 = Pl050(pio_addr=0x1c060000, int_num=44) - kmi1 = Pl050(pio_addr=0x1c070000, int_num=45) + kmi1 = Pl050(pio_addr=0x1c070000, int_num=45, is_mouse=True) cf_ctrl = IdeController(disks=[], pci_func=0, pci_dev=0, pci_bus=2, io_shift = 2, ctrl_offset = 2, Command = 0x1, BAR0 = 0x1C1A0000, BAR0Size = '256B',