summaryrefslogtreecommitdiff
path: root/src/python/m5/objects/SimConsole.py
blob: df306190891b9304ca604edf0778a994a9982a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from m5 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")
    number = Param.Int(0, "console number")
    output = Param.String('console', "file to dump output to")