31 #ifndef __DEV_X86_SPEAKER_HH__
32 #define __DEV_X86_SPEAKER_HH__
36 #include "params/PcSpeaker.hh"
54 SpeakerControl controlVal;
64 return dynamic_cast<const Params *
>(
_params);
82 #endif //__DEV_X86_SPEAKER_HH__
const Params * params() const
BitUnion8(SpeakerControl) Bitfield< 0 > gate
EndBitUnion(SpeakerControl) SpeakerControl controlVal
uint64_t Tick
Tick count type.
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
void serialize(CheckpointOut &cp) const override
Serialize an object.
std::ostream CheckpointOut
const SimObjectParams * _params
Cached copy of the object parameters.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.