summaryrefslogtreecommitdiff
path: root/src/dev/uart.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-06-17 20:29:06 -0700
committerNathan Binkert <nate@binkert.org>2008-06-17 20:29:06 -0700
commit00df9016fead5f7427576acf6d3faee29779f0a1 (patch)
treebad5b6b78710fd0e82dcff5b27d2088ec6d706dc /src/dev/uart.cc
parentfa8f91fdc0609fb9cb8bcde22b440b40e52f1cc8 (diff)
downloadgem5-00df9016fead5f7427576acf6d3faee29779f0a1.tar.xz
Rename SimConsole to Terminal since it makes more sense
--HG-- rename : src/dev/SimConsole.py => src/dev/Terminal.py rename : src/dev/simconsole.cc => src/dev/terminal.cc rename : src/dev/simconsole.hh => src/dev/terminal.hh
Diffstat (limited to 'src/dev/uart.cc')
-rw-r--r--src/dev/uart.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/uart.cc b/src/dev/uart.cc
index c9a2ae964..ab0ebde2c 100644
--- a/src/dev/uart.cc
+++ b/src/dev/uart.cc
@@ -32,17 +32,17 @@
* Implements a base class for UARTs
*/
-#include "dev/simconsole.hh"
-#include "dev/uart.hh"
#include "dev/platform.hh"
+#include "dev/terminal.hh"
+#include "dev/uart.hh"
using namespace std;
Uart::Uart(const Params *p)
- : BasicPioDevice(p), platform(p->platform), cons(p->sim_console)
+ : BasicPioDevice(p), platform(p->platform), term(p->terminal)
{
status = 0;
// set back pointers
- cons->uart = this;
+ term->uart = this;
}