projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1742699
)
config: Replace second keyboard with a mouse.
author
Chris Emmons
<Chris.Emmons@arm.com>
Mon, 7 Jan 2013 18:05:35 +0000
(13:05 -0500)
committer
Chris Emmons
<Chris.Emmons@arm.com>
Mon, 7 Jan 2013 18:05:35 +0000
(13:05 -0500)
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
patch
|
blob
|
history
diff --git
a/src/dev/arm/RealView.py
b/src/dev/arm/RealView.py
index 87d4d9b16e8020600e153cc8087b9d7e612d14d2..51a82f4386fca3af5577385a111bc5d4febbcf31 100644
(file)
--- 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',