summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-03-08 11:34:41 -0500
committerKevin Lim <ktlim@umich.edu>2006-03-08 11:34:41 -0500
commit4d44e53736507de176e48cbf99b064ffa0ae5a7a (patch)
tree70e89d9e8e37238478191e07f8312e15e6460729
parentdd1e1484ee3e9ad0a6af820c2fcbd69a39698dac (diff)
downloadgem5-4d44e53736507de176e48cbf99b064ffa0ae5a7a.tar.xz
Forward declaration of MemoryController.
My change to exec_context.hh probably affected these files to no longer have MemoryController forward declared through a long chain of includes. MemoryController should be forward declared where it is used anyways. dev/alpha_console.hh: dev/uart.hh: dev/uart8250.hh: Forward declaration of MemoryController. --HG-- extra : convert_revision : afaac4014e0eb3b6d5d385cd4444b77511e03b51
-rw-r--r--dev/alpha_console.hh1
-rw-r--r--dev/uart.hh1
-rw-r--r--dev/uart8250.hh1
3 files changed, 3 insertions, 0 deletions
diff --git a/dev/alpha_console.hh b/dev/alpha_console.hh
index 86ef021e9..f63c6ad7e 100644
--- a/dev/alpha_console.hh
+++ b/dev/alpha_console.hh
@@ -43,6 +43,7 @@ class BaseCPU;
class SimConsole;
class AlphaSystem;
class SimpleDisk;
+class MemoryController;
/**
* Memory mapped interface to the system console. This device
diff --git a/dev/uart.hh b/dev/uart.hh
index 145b9ca9e..78b1dc68e 100644
--- a/dev/uart.hh
+++ b/dev/uart.hh
@@ -37,6 +37,7 @@
#include "dev/io_device.hh"
class SimConsole;
+class MemoryController;
class Platform;
const int RX_INT = 0x1;
diff --git a/dev/uart8250.hh b/dev/uart8250.hh
index 88abf8e24..63d1da3cf 100644
--- a/dev/uart8250.hh
+++ b/dev/uart8250.hh
@@ -53,6 +53,7 @@
#define IIR_LINE 0x06 /* Rx Line Status (highest priority)*/
class SimConsole;
+class MemoryController;
class Platform;
class Uart8250 : public Uart