コード例 #1
0
class I8042(BasicPioDevice):
    type = 'I8042'
    cxx_class = 'X86ISA::I8042'
    # 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(),
                                          'Pin to signal the mouse has data')
    keyboard_int_pin = Param.X86IntSourcePin(
        X86IntSourcePin(), 'Pin to signal the keyboard has data')
コード例 #2
0
ファイル: I8042.py プロジェクト: PariSa91/gem5-Security
class I8042(BasicPioDevice):
    type = 'I8042'
    cxx_class = 'X86ISA::I8042'
    cxx_header = "dev/x86/i8042.hh"
    # 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(),
                                          'Pin to signal the mouse has data')
    keyboard_int_pin = Param.X86IntSourcePin(
        X86IntSourcePin(), '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")
コード例 #3
0
class Cmos(BasicPioDevice):
    type = 'Cmos'
    cxx_class = 'X86ISA::Cmos'
    time = Param.Time('01/01/2012',
                      "System time to use ('Now' for actual time)")
    int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
                                    'Pin to signal RTC alarm interrupts to')
コード例 #4
0
class Cmos(BasicPioDevice):
    type = 'Cmos'
    cxx_class = 'X86ISA::Cmos'
    time = Param.Time('01/01/2012',
                      "System time to use ('Now' for actual time)")
    pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
    int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
                                    'Pin to signal RTC alarm interrupts to')
コード例 #5
0
class I8259(BasicPioDevice):
    type = 'I8259'
    cxx_class = 'X86ISA::I8259'
    output = Param.X86IntSourcePin(X86IntSourcePin(),
                                   'The pin this I8259 drives')
    mode = Param.X86I8259CascadeMode('How this I8259 is cascaded')
    slave = Param.I8259(NULL, 'Slave I8259, if any')

    def pin(self, line):
        return X86IntSinkPin(device=self, number=line)
コード例 #6
0
class I8259(BasicPioDevice):
    type = 'I8259'
    cxx_class='X86ISA::I8259'
    pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
    output = Param.X86IntSourcePin(X86IntSourcePin(),
            'The pin this I8259 drives')
    mode = Param.X86I8259CascadeMode('How this I8259 is cascaded')
    slave = Param.I8259(NULL, 'Slave I8259, if any')

    def pin(self, line):
        return X86IntSinkPin(device=self, number=line)
コード例 #7
0
ファイル: I8250X.py プロジェクト: chmodawk/PARD-gem5
class I8250X(Uart):
    type = 'I8250X'
    cxx_class = 'X86ISA::I8250X'
    cxx_header = "dev/cellx/i8250x.hh"
    int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
            'Pin to signal uart interrupts to')
コード例 #8
0
class I8254(BasicPioDevice):
    type = 'I8254'
    cxx_class = 'X86ISA::I8254'
    pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
    int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
                                    'Pin to signal timer interrupts to')
コード例 #9
0
class I8254(BasicPioDevice):
    type = 'I8254'
    cxx_class = 'X86ISA::I8254'
    int_pin = Param.X86IntSourcePin(X86IntSourcePin(),
                                    'Pin to signal timer interrupts to')