43 #ifndef __DEV_X86_INTDEV_HH__
44 #define __DEV_X86_INTDEV_HH__
54 #include "params/X86IntLine.hh"
55 #include "params/X86IntSinkPin.hh"
56 #include "params/X86IntSourcePin.hh"
109 TriggerIntMessage message,
bool timing);
128 panic(
"signalInterrupt not implemented.\n");
134 panic(
"raiseInterruptPin not implemented.\n");
140 panic(
"lowerInterruptPin not implemented.\n");
146 panic(
"recvMessage not implemented.\n");
153 panic(
"recvResponse not implemented.\n");
160 panic(
"intAddrRange not implemented.\n");
202 sinks.push_back(sink);
208 for (
int i = 0;
i <
sinks.size();
i++) {
217 for (
int i = 0;
i <
sinks.size();
i++) {
250 #endif //__DEV_X86_INTDEV_HH__
IntMasterPort intMasterPort
virtual void signalInterrupt(int line)
const std::string & name()
virtual Tick recvResponse(PacketPtr pkt)
X86IntSourcePinParams Params
IntSlavePort(const std::string &_name, MemObject *_parent, IntDevice *dev)
Tick recvMessage(PacketPtr pkt)
std::list< int > ApicList
IntDevice(MemObject *parent, Tick latency=0)
const Params * params() const
IntMasterPort(const std::string &_name, MemObject *_parent, IntDevice *dev, Tick _latency)
uint32_t headerDelay
The extra delay from seeing the packet until the header is transmitted.
uint64_t Tick
Tick count type.
std::vector< IntSinkPin * > sinks
AddrRangeList getAddrRanges() const
Get a list of the non-overlapping address ranges the owner is responsible for.
void sendMessage(ApicList apics, TriggerIntMessage message, bool timing)
Tick recvResponse(PacketPtr pkt)
uint32_t payloadDelay
The extra pipelining delay from seeing the packet until the end of payload is transmitted by the comp...
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
const Params * params() const
virtual AddrRangeList getIntAddrRange() const
The MemObject class extends the ClockedObject with accessor functions to get its master and slave por...
const SimObjectParams * _params
Cached copy of the object parameters.
void addSink(IntSinkPin *sink)
virtual void lowerInterruptPin(int number)
virtual Tick recvMessage(PacketPtr pkt)
const Params * params() const
X86IntSinkPinParams Params
Abstract superclass for simulation objects.
virtual void raiseInterruptPin(int number)