changeset 175421e57fff in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=175421e57fff
description:
        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.

diffstat:

 src/dev/arm/RealView.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b08ec9cf2e3f -r 175421e57fff src/dev/arm/RealView.py
--- a/src/dev/arm/RealView.py   Mon Jan 07 13:05:35 2013 -0500
+++ b/src/dev/arm/RealView.py   Mon Jan 07 13:05:35 2013 -0500
@@ -345,7 +345,7 @@
     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',
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to