diff options
author | Nathan Binkert <nate@binkert.org> | 2008-06-17 20:29:06 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-06-17 20:29:06 -0700 |
commit | 00df9016fead5f7427576acf6d3faee29779f0a1 (patch) | |
tree | bad5b6b78710fd0e82dcff5b27d2088ec6d706dc /src/dev/alpha/console.cc | |
parent | fa8f91fdc0609fb9cb8bcde22b440b40e52f1cc8 (diff) | |
download | gem5-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/alpha/console.cc')
-rw-r--r-- | src/dev/alpha/console.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/alpha/console.cc b/src/dev/alpha/console.cc index 493a21f99..d7b2b5b02 100644 --- a/src/dev/alpha/console.cc +++ b/src/dev/alpha/console.cc @@ -46,8 +46,8 @@ #include "cpu/thread_context.hh" #include "dev/alpha/console.hh" #include "dev/platform.hh" -#include "dev/simconsole.hh" #include "dev/simple_disk.hh" +#include "dev/terminal.hh" #include "mem/packet.hh" #include "mem/packet_access.hh" #include "mem/physical.hh" @@ -58,7 +58,7 @@ using namespace std; using namespace AlphaISA; AlphaConsole::AlphaConsole(const Params *p) - : BasicPioDevice(p), disk(p->disk), console(p->sim_console), + : BasicPioDevice(p), disk(p->disk), terminal(p->terminal), system(p->system), cpu(p->cpu) { @@ -139,7 +139,7 @@ AlphaConsole::read(PacketPtr pkt) switch (daddr) { case offsetof(AlphaAccess, inputChar): - pkt->set(console->console_in()); + pkt->set(terminal->console_in()); break; case offsetof(AlphaAccess, cpuClock): pkt->set(alphaAccess->cpuClock); @@ -228,7 +228,7 @@ AlphaConsole::write(PacketPtr pkt) break; case offsetof(AlphaAccess, outputChar): - console->out((char)(val & 0xff)); + terminal->out((char)(val & 0xff)); break; default: |