diff options
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/serial/Terminal.py | 2 | ||||
-rw-r--r-- | src/dev/serial/terminal.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/serial/Terminal.py b/src/dev/serial/Terminal.py index 534010456..e6cc6a9fa 100644 --- a/src/dev/serial/Terminal.py +++ b/src/dev/serial/Terminal.py @@ -44,7 +44,7 @@ from m5.proxy import * from m5.objects.Serial import SerialDevice -class TerminalDump(Enum): vals = ["none", "stdout", "stderr", "file"] +class TerminalDump(Enum): vals = ["none", "stdoutput", "stderror", "file"] class Terminal(SerialDevice): type = 'Terminal' diff --git a/src/dev/serial/terminal.cc b/src/dev/serial/terminal.cc index 002a2ebb7..ce8e214f7 100644 --- a/src/dev/serial/terminal.cc +++ b/src/dev/serial/terminal.cc @@ -151,9 +151,9 @@ Terminal::terminalDump(const TerminalParams* p) switch (p->outfile) { case Enums::TerminalDump::none: return nullptr; - case Enums::TerminalDump::stdout: + case Enums::TerminalDump::stdoutput: return simout.findOrCreate("stdout"); - case Enums::TerminalDump::stderr: + case Enums::TerminalDump::stderror: return simout.findOrCreate("stderr"); case Enums::TerminalDump::file: return simout.findOrCreate(p->name); |