Merge zizzer:/bk/newmem
[gem5.git] / python / m5 / objects / Process.py
1 from m5 import *
2 class Process(SimObject):
3 type = 'Process'
4 abstract = True
5 output = Param.String('cout', 'filename for stdout/stderr')
6 system = Param.System(Parent.any, "system process will run on")
7
8 class LiveProcess(Process):
9 type = 'LiveProcess'
10 executable = Param.String('', "executable (overrides cmd[0] if set)")
11 cmd = VectorParam.String("command line (executable plus arguments)")
12 env = VectorParam.String('', "environment settings")
13 input = Param.String('cin', "filename for stdin")
14
15 class AlphaLiveProcess(LiveProcess):
16 type = 'AlphaLiveProcess'
17
18 class SparcLiveProcess(LiveProcess):
19 type = 'SparcLiveProcess'
20
21 class MipsLiveProcess(LiveProcess):
22 type = 'MipsLiveProcess'
23
24 class EioProcess(Process):
25 type = 'EioProcess'
26 chkpt = Param.String('', "EIO checkpoint file name (optional)")
27 file = Param.String("EIO trace file name")