diff options
Diffstat (limited to 'src/dev/x86/I8042.py')
-rw-r--r-- | src/dev/x86/I8042.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dev/x86/I8042.py b/src/dev/x86/I8042.py index 5615d3e9f..44a1e011f 100644 --- a/src/dev/x86/I8042.py +++ b/src/dev/x86/I8042.py @@ -29,7 +29,7 @@ from m5.params import * from m5.proxy import * from m5.objects.Device import BasicPioDevice -from m5.objects.X86IntPin import X86IntSourcePin +from m5.objects.IntPin import IntSourcePin from m5.objects.PS2 import * class I8042(BasicPioDevice): @@ -40,10 +40,8 @@ class I8042(BasicPioDevice): pio_addr = 0x0 data_port = Param.Addr('Data port address') command_port = Param.Addr('Command/status port address') - mouse_int_pin = Param.X86IntSourcePin(X86IntSourcePin(), - 'Pin to signal the mouse has data') - keyboard_int_pin = Param.X86IntSourcePin(X86IntSourcePin(), - 'Pin to signal the keyboard has data') + mouse_int_pin = IntSourcePin('Pin to signal the mouse has data') + keyboard_int_pin = IntSourcePin('Pin to signal the keyboard has data') keyboard = Param.PS2Device(PS2Keyboard(vnc=NULL), "PS/2 keyboard device") mouse = Param.PS2Device(PS2Mouse(), "PS/2 mouse device") |