diff options
-rw-r--r-- | mem/packet.cc | 1 | ||||
-rw-r--r-- | mem/port.hh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mem/packet.cc b/mem/packet.cc index 590617f99..85b76919b 100644 --- a/mem/packet.cc +++ b/mem/packet.cc @@ -31,6 +31,7 @@ * Definition of the Packet Class, a packet is a transaction occuring * between a single level of the memory heirarchy (ie L1->L2). */ +#include "base/misc.hh" #include "mem/packet.hh" bool fixPacket(Packet &func, Packet &timing) diff --git a/mem/port.hh b/mem/port.hh index 9557f654c..2ab2806c9 100644 --- a/mem/port.hh +++ b/mem/port.hh @@ -227,7 +227,7 @@ class FunctionalPort : public Port virtual bool recvTiming(Packet &pkt) { panic("FuncPort is UniDir"); } virtual Tick recvAtomic(Packet &pkt) { panic("FuncPort is UniDir"); } virtual void recvFunctional(Packet &pkt) { panic("FuncPort is UniDir"); } - virtual void recvStatusChange(Status status) {panic("FuncPort is UniDir");} + virtual void recvStatusChange(Status status) {} template <typename T> inline void write(Addr addr, T d) |