base/mysql.hh:
include mysql_version to get rid of that annoying mysql error.
make sure refcount is set in all constructors
base/pollevent.hh:
dev/ethertap.hh:
dev/pciconfigall.hh:
dev/tsunami_cchip.hh:
dev/tsunami_io.hh:
dev/tsunami_pchip.hh:
sim/param.cc:
fix for gcc 4
--HG--
extra : convert_revision :
be626af2f40ca402818996ef27249ae256c63ef1
#include <cassert>
#include <iosfwd>
+#include <mysql_version.h>
#include <mysql.h>
#include <string>
#include <sstream>
{
if (result)
refcount = new int(1);
+ else
+ refcount = NULL;
}
Result(const Result &result)
#include "sim/root.hh"
class Checkpoint;
+class PollQueue;
class PollEvent
{
#include "base/pollevent.hh"
#include "sim/sim_object.hh"
+class TapEvent;
+class TapListener;
+
/*
* Interface to connect a simulated ethernet device to the real world
*/
static const uint32_t MAX_PCI_FUNC = 8;
class PciDev;
+class MemoryController;
/**
* PCI Config Space
#include "base/range.hh"
#include "dev/io_device.hh"
+class MemoryController;
+
/**
* Tsunami CChip CSR Emulation. This device includes all the interrupt
* handling code for the chipset.
#include "dev/tsunami.hh"
#include "sim/eventq.hh"
+class MemoryController;
+
/**
* Tsunami I/O device is a catch all for all the south bridge stuff we care
* to implement.
#include "base/range.hh"
#include "dev/io_device.hh"
+class MemoryController;
+
/**
* A very simple implementation of the Tsunami PCI interface chips.
*/
template void VectorParam<type>::parse(const string &); \
template void Param<type>::showValue(ostream &) const; \
template void VectorParam<type>::showValue(ostream &) const; \
-void Param<type>::showType(ostream &os) const { os << typestr; } \
-void VectorParam<type>::showType(ostream &os) const { \
+template <> void Param<type>::showType(ostream &os) const { os << typestr; } \
+template <> void VectorParam<type>::showType(ostream &os) const { \
os << "vector of " << typestr; \
}
#endif