gem5
|
#include <i8042.hh>
Public Member Functions | |
bool | processData (uint8_t data) override |
Public Member Functions inherited from X86ISA::PS2Device | |
virtual | ~PS2Device () |
PS2Device () | |
virtual void | serialize (const std::string &base, CheckpointOut &cp) const |
virtual void | unserialize (const std::string &base, CheckpointIn &cp) |
bool | hasData () |
uint8_t | getData () |
Protected Types | |
enum | Command { LEDWrite = 0xED, DiagnosticEcho = 0xEE, AlternateScanCodes = 0xF0, ReadID = 0xF2, TypematicInfo = 0xF3, Enable = 0xF4, Disable = 0xF5, DefaultsAndDisable = 0xF6, AllKeysToTypematic = 0xF7, AllKeysToMakeRelease = 0xF8, AllKeysToMake = 0xF9, AllKeysToTypematicMakeRelease = 0xFA, KeyToTypematic = 0xFB, KeyToMakeRelease = 0xFC, KeyToMakeOnly = 0xFD, Resend = 0xFE, Reset = 0xFF } |
Static Protected Attributes | |
static const uint8_t | ID [] = {0xab, 0x83} |
Static Protected Attributes inherited from X86ISA::PS2Device | |
static const uint16_t | NoCommand = (uint16_t)(-1) |
Additional Inherited Members | |
Protected Member Functions inherited from X86ISA::PS2Device | |
void | bufferData (const uint8_t *data, int size) |
void | ack () |
void | nack () |
Protected Attributes inherited from X86ISA::PS2Device | |
std::deque< uint8_t > | outBuffer |
uint16_t | lastCommand |
|
protected |
|
overridevirtual |
Implements X86ISA::PS2Device.
Definition at line 155 of file i8042.cc.
References bits(), Ps2::Disable, DPRINTF, Ps2::Enable, and panic.
|
staticprotected |