Go to the documentation of this file.
29 #ifndef __DEV_X86_I8042_HH__
30 #define __DEV_X86_I8042_HH__
37 #include "params/I8042.hh"
78 Bitfield<7> parityError;
89 Bitfield<6> convertScanCodes;
132 if (if_name ==
"mouse_int_pin")
134 else if (if_name ==
"keyboard_int_pin")
152 #endif //__DEV_X86_I8042_HH__
const PortID InvalidPortID
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
const Params * params() const
std::vector< IntSourcePin< I8042 > * > keyboardIntPin
Bitfield< 3 > commandLast
uint64_t Tick
Tick count type.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
Bitfield< 4 > disableKeyboard
void serialize(CheckpointOut &cp) const override
Serialize an object.
Bitfield< 4 > keyboardUnlocked
EndBitUnion(StatusReg) BitUnion8(CommandByte) Bitfield< 6 > convertScanCodes
Bitfield< 1 > mouseFullInt
Bitfield< 2 > passedSelfTest
BitUnion8(StatusReg) Bitfield< 7 > parityError
void unserialize(CheckpointIn &cp) override
Unserialize an object.
@ WriteKeyboardOutputBuff
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
AddrRangeList getAddrRanges() const override
Determine the address ranges that this device responds to.
void writeData(uint8_t newData, bool mouse=false)
Bitfield< 5 > mouseOutputFull
Ports are used to interface objects to each other.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
Bitfield< 5 > disableMouse
This is exposed globally, independent of the ISA.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Bitfield< 0 > keyboardFullInt
const SimObjectParams * _params
Cached copy of the object parameters.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
std::vector< IntSourcePin< I8042 > * > mouseIntPin
std::ostream CheckpointOut
static const uint16_t NoCommand
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17