From c62760e3cbe912e17c25e9fc0bd0810a79d676bb Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 12 Sep 2005 03:01:43 -0400 Subject: fixes for gcc 4.0 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 --- dev/ethertap.hh | 3 +++ dev/pciconfigall.hh | 1 + dev/tsunami_cchip.hh | 2 ++ dev/tsunami_io.hh | 2 ++ dev/tsunami_pchip.hh | 2 ++ 5 files changed, 10 insertions(+) (limited to 'dev') diff --git a/dev/ethertap.hh b/dev/ethertap.hh index dbbada40e..069ba734f 100644 --- a/dev/ethertap.hh +++ b/dev/ethertap.hh @@ -42,6 +42,9 @@ #include "base/pollevent.hh" #include "sim/sim_object.hh" +class TapEvent; +class TapListener; + /* * Interface to connect a simulated ethernet device to the real world */ diff --git a/dev/pciconfigall.hh b/dev/pciconfigall.hh index 072a763f9..d9e623b7e 100644 --- a/dev/pciconfigall.hh +++ b/dev/pciconfigall.hh @@ -43,6 +43,7 @@ static const uint32_t MAX_PCI_DEV = 32; static const uint32_t MAX_PCI_FUNC = 8; class PciDev; +class MemoryController; /** * PCI Config Space diff --git a/dev/tsunami_cchip.hh b/dev/tsunami_cchip.hh index 931a0fb41..e5da3984c 100644 --- a/dev/tsunami_cchip.hh +++ b/dev/tsunami_cchip.hh @@ -37,6 +37,8 @@ #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. diff --git a/dev/tsunami_io.hh b/dev/tsunami_io.hh index 35a417e6e..1187f5904 100644 --- a/dev/tsunami_io.hh +++ b/dev/tsunami_io.hh @@ -38,6 +38,8 @@ #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. diff --git a/dev/tsunami_pchip.hh b/dev/tsunami_pchip.hh index 63ea67b1d..8c29a9ac9 100644 --- a/dev/tsunami_pchip.hh +++ b/dev/tsunami_pchip.hh @@ -37,6 +37,8 @@ #include "base/range.hh" #include "dev/io_device.hh" +class MemoryController; + /** * A very simple implementation of the Tsunami PCI interface chips. */ -- cgit v1.2.3