From: Ali Saidi Date: Sat, 29 Apr 2006 21:37:25 +0000 (-0400) Subject: fixes for se X-Git-Tag: m5_2.0_beta1~103^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a2e0388cf04fbdac68ed9543e4573a13c7f9b17;p=gem5.git fixes for se mem/packet.cc: mem/port.hh: fix for se compilation --HG-- extra : convert_revision : ac960e295f6b51875898245fb55383a59b06cac6 --- 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 inline void write(Addr addr, T d)