From 8a9d270f6c17efa79f38e629c7cbcafa51aa8494 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 1 May 2006 18:53:28 -0400 Subject: move code from packet.hh to packet.cc and packet_impl.hh fix very annoying not-compiler bug arch/sparc/regfile.hh: You have not included an out-of-class definition of your static members. See [9.4.2]/4 and about a billion gcc bug reports. If statements get around the problem through some magic, and than seems nicer that putting a definition of them in a c file somewhere. cpu/simple/cpu.cc: get() and set() do the conversion now dev/io_device.hh: need get() and set() defentions in all the devices mem/packet.cc: mem/packet.hh: move code from packet.hh to packet.cc mem/physical.cc: packet_impl needed for templated packet functions --HG-- extra : convert_revision : 6c11842aa928d9af7b4cabe826306fe1fe09e693 --- mem/physical.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'mem/physical.cc') diff --git a/mem/physical.cc b/mem/physical.cc index fd304e63b..a9cefc70b 100644 --- a/mem/physical.cc +++ b/mem/physical.cc @@ -40,6 +40,7 @@ #include "base/misc.hh" #include "config/full_system.hh" +#include "mem/packet_impl.hh" #include "mem/physical.hh" #include "sim/host.hh" #include "sim/builder.hh" -- cgit v1.2.3