From: Kevin Lim Date: Wed, 8 Mar 2006 16:34:41 +0000 (-0500) Subject: Forward declaration of MemoryController. X-Git-Tag: m5_2.0_beta1~87^2~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d44e53736507de176e48cbf99b064ffa0ae5a7a;p=gem5.git 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 --- 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