summaryrefslogtreecommitdiff
path: root/src/dev/x86/I8042.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/I8042.py')
-rw-r--r--src/dev/x86/I8042.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/x86/I8042.py b/src/dev/x86/I8042.py
index d13a13341..9203f40f5 100644
--- a/src/dev/x86/I8042.py
+++ b/src/dev/x86/I8042.py
@@ -30,6 +30,7 @@ from m5.params import *
from m5.proxy import *
from Device import BasicPioDevice
from X86IntPin import X86IntSourcePin
+from PS2 import *
class I8042(BasicPioDevice):
type = 'I8042'
@@ -43,3 +44,6 @@ class I8042(BasicPioDevice):
'Pin to signal the mouse has data')
keyboard_int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
'Pin to signal the keyboard has data')
+
+ keyboard = Param.PS2Device(PS2Keyboard(), "PS/2 keyboard device")
+ mouse = Param.PS2Device(PS2Mouse(), "PS/2 mouse device")