X86: Add some missing default arguments.
This commit is contained in:
parent
5a4eed5d34
commit
73f579a804
3 changed files with 4 additions and 2 deletions
|
@ -35,6 +35,8 @@ class I8042(BasicPioDevice):
|
|||
type = 'I8042'
|
||||
cxx_class = 'X86ISA::I8042'
|
||||
pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
|
||||
# This isn't actually used for anything here.
|
||||
pio_addr = 0x0
|
||||
data_port = Param.Addr('Data port address')
|
||||
command_port = Param.Addr('Command/status port address')
|
||||
mouse_int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
|
||||
|
|
|
@ -37,7 +37,7 @@ class I82094AA(BasicPioDevice):
|
|||
pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
|
||||
pio_addr = Param.Addr("Device address")
|
||||
int_port = Port("Port for sending and receiving interrupt messages")
|
||||
external_int_pic = Param.I8259("External PIC, if any")
|
||||
external_int_pic = Param.I8259(NULL, "External PIC, if any")
|
||||
|
||||
def pin(self, line):
|
||||
return X86IntSinkPin(device=self, number=line)
|
||||
|
|
|
@ -44,7 +44,7 @@ class I8259(BasicPioDevice):
|
|||
output = Param.X86IntSourcePin(X86IntSourcePin(),
|
||||
'The pin this I8259 drives')
|
||||
mode = Param.X86I8259CascadeMode('How this I8259 is cascaded')
|
||||
slave = Param.I8259('Slave I8259, if any')
|
||||
slave = Param.I8259(NULL, 'Slave I8259, if any')
|
||||
|
||||
def pin(self, line):
|
||||
return X86IntSinkPin(device=self, number=line)
|
||||
|
|
Loading…
Reference in a new issue