summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-04-02 18:20:55 -0700
committerGabe Black <gabeblack@google.com>2018-04-10 11:46:52 +0000
commit421c2e2b2186551cd9310b30d26a4805dfa0482e (patch)
treee2957c15bf048f7a6911a20499a1e907d4186e45 /src
parent3bd9a8968a2ccae1065526572e22cbdcd66b9cbd (diff)
downloadgem5-421c2e2b2186551cd9310b30d26a4805dfa0482e.tar.xz
dev: arm: SetScaling commands don't send parameter bytes.
These are single byte commands which change the mode of the mouse. They don't take any additional parameters like the SetRate or SetResolution. Change-Id: I29194916cfed5d3f4893947ef6d6cc636aee2419 Reviewed-on: https://gem5-review.googlesource.com/9701 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/dev/arm/kmi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/arm/kmi.cc b/src/dev/arm/kmi.cc
index 8db925471..8b373b819 100644
--- a/src/dev/arm/kmi.cc
+++ b/src/dev/arm/kmi.cc
@@ -188,8 +188,6 @@ Pl050::processCommand(uint8_t byte)
case SetResolution:
case SetRate:
case SetStatusLed:
- case SetScaling1_1:
- case SetScaling1_2:
rxQueue.push_back(Ack);
ackNext = 1;
break;
@@ -211,6 +209,8 @@ Pl050::processCommand(uint8_t byte)
case Disable:
case Enable:
case SetDefaults:
+ case SetScaling1_1:
+ case SetScaling1_2:
rxQueue.push_back(Ack);
break;
case StatusRequest: