diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-07-11 16:26:24 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2018-04-17 08:46:33 +0000 |
commit | 18f62ac208a3fc8d385e66c3b5ff22473229d1d7 (patch) | |
tree | d4a2cb0daa1d3735e59696bc5484162acbd62cb9 /src/dev/ps2.hh | |
parent | 7c21795304e6ec79ed8c35873c4419a6342eb1e3 (diff) | |
download | gem5-18f62ac208a3fc8d385e66c3b5ff22473229d1d7.tar.xz |
ps2: Factor out PS/2 devices into their own subsystem
PS/2 devices are currently emulated both in the i8042 model and the
Arm KMI model. This is undesirable since it leads to code duplication.
This change introduces a common PS/2 device interface and factor out
the x86 keyboard and mouse model. A subsequent commit will implement
support for this interface in the Arm KMI model.
Change-Id: I440e83517fd9dce362fdc1676db477cc6eee5211
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9762
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/dev/ps2.hh')
-rw-r--r-- | src/dev/ps2.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/ps2.hh b/src/dev/ps2.hh index 9e9986735..7b5783547 100644 --- a/src/dev/ps2.hh +++ b/src/dev/ps2.hh @@ -61,6 +61,7 @@ enum { ReadId = 0xf2, TpReadId = 0xe1, Ack = 0xfa, + Resend = 0xfe, SetRate = 0xf3, Enable = 0xf4, Disable = 0xf5, |