diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-02-21 22:14:11 -0800 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-02-21 22:14:11 -0800 |
commit | fa4c3d74fe7eb9627119d17542fbde18eb10423e (patch) | |
tree | 4ed4320fb59c5839057e472446313734daab5858 /src/python/m5/objects/SimConsole.py | |
parent | 783e642ed8cf45e65ddb7a47f5bd2c34df1900cd (diff) | |
download | gem5-fa4c3d74fe7eb9627119d17542fbde18eb10423e.tar.xz |
Get rid of the ConsoleListener SimObject and just fold the
relevant code directly into the SimConsole object. Now,
you can easily turn off the listen port by just specifying
0 as the port.
--HG--
extra : convert_revision : c8937fa45b429d8a0728e6c720a599e38972aaf0
Diffstat (limited to 'src/python/m5/objects/SimConsole.py')
-rw-r--r-- | src/python/m5/objects/SimConsole.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/python/m5/objects/SimConsole.py b/src/python/m5/objects/SimConsole.py index bdd7f246d..dfad18eb6 100644 --- a/src/python/m5/objects/SimConsole.py +++ b/src/python/m5/objects/SimConsole.py @@ -1,14 +1,11 @@ from m5.SimObject import SimObject from m5.params import * from m5.proxy import * -class ConsoleListener(SimObject): - type = 'ConsoleListener' - port = Param.TcpPort(3456, "listen port") class SimConsole(SimObject): type = 'SimConsole' append_name = Param.Bool(True, "append name() to filename") intr_control = Param.IntrControl(Parent.any, "interrupt controller") - listener = Param.ConsoleListener("console listener") + port = Param.TcpPort(3456, "listen port") number = Param.Int(0, "console number") output = Param.String('console', "file to dump output to") |