From 6a2e0388cf04fbdac68ed9543e4573a13c7f9b17 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Sat, 29 Apr 2006 17:37:25 -0400 Subject: [PATCH] fixes for se mem/packet.cc: mem/port.hh: fix for se compilation --HG-- extra : convert_revision : ac960e295f6b51875898245fb55383a59b06cac6 --- mem/packet.cc | 1 + mem/port.hh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- 2.30.2