Process.py (9338:97b4a2be1e5b) | Process.py (10299:bec0c5ffc323) |
---|---|
1# Copyright (c) 2005-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 24 unchanged lines hidden (view full) --- 33class Process(SimObject): 34 type = 'Process' 35 abstract = True 36 cxx_header = "sim/process.hh" 37 input = Param.String('cin', "filename for stdin") 38 output = Param.String('cout', 'filename for stdout') 39 errout = Param.String('cerr', 'filename for stderr') 40 system = Param.System(Parent.any, "system process will run on") | 1# Copyright (c) 2005-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 24 unchanged lines hidden (view full) --- 33class Process(SimObject): 34 type = 'Process' 35 abstract = True 36 cxx_header = "sim/process.hh" 37 input = Param.String('cin', "filename for stdin") 38 output = Param.String('cout', 'filename for stdout') 39 errout = Param.String('cerr', 'filename for stderr') 40 system = Param.System(Parent.any, "system process will run on") |
41 useArchPT = Param.Bool('false', 'maintain an in-memory version of the page\ 42 table in an architecture-specific format') |
|
41 max_stack_size = Param.MemorySize('64MB', 'maximum size of the stack') 42 43 @classmethod 44 def export_methods(cls, code): 45 code('bool map(Addr vaddr, Addr paddr, int size);') 46 47class LiveProcess(Process): 48 type = 'LiveProcess' --- 12 unchanged lines hidden --- | 43 max_stack_size = Param.MemorySize('64MB', 'maximum size of the stack') 44 45 @classmethod 46 def export_methods(cls, code): 47 code('bool map(Addr vaddr, Addr paddr, int size);') 48 49class LiveProcess(Process): 50 type = 'LiveProcess' --- 12 unchanged lines hidden --- |