ps2: Unify constant names
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 10 Apr 2018 08:22:02 +0000 (09:22 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 17 Apr 2018 12:24:17 +0000 (12:24 +0000)
commit2c0ce271a604be0000b2f1cc1084541714e436ac
tree457767e1bd2a3240031a1a39c4c59da71db5ad0c
parent74e63a607af58c2df49cd2decbebd71a6d061915
ps2: Unify constant names

Move ps2.hh to dev/ps2/types.hh and update the device models to
consistently use well-known constants from this header.

Change-Id: Iadfdc774495957beb82f3d341107b1e9232ffd4c
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/9770
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
14 files changed:
src/dev/SConscript
src/dev/arm/kmi.cc
src/dev/ps2.cc [deleted file]
src/dev/ps2.hh [deleted file]
src/dev/ps2/SConscript
src/dev/ps2/device.cc
src/dev/ps2/keyboard.cc
src/dev/ps2/keyboard.hh
src/dev/ps2/mouse.cc
src/dev/ps2/mouse.hh
src/dev/ps2/touchkit.cc
src/dev/ps2/touchkit.hh
src/dev/ps2/types.cc [new file with mode: 0644]
src/dev/ps2/types.hh [new file with mode: 0644]