e3d96aa889
on execution. configs/test/test.py: Move test binary out of m5-test, don't depend on m5-test/Benchmarks. python/m5/objects/System.py: Split out full-system-only parameters (lost in merge). sim/system.cc: Need to be able to instantiate System directly in SE mode (lost in merge). sim/system.hh: A few more functions here are FS-only. configs/test/hello: Add in binary. --HG-- rename : configs/test.py => configs/test/test.py extra : convert_revision : 4051b18772e0a0dcb97eb591d4373683be9f4395
10 lines
245 B
Python
10 lines
245 B
Python
from m5 import *
|
|
|
|
class HelloWorld(LiveProcess):
|
|
executable = '../configs/test/hello'
|
|
cmd = 'hello'
|
|
|
|
mem = PhysicalMemory()
|
|
cpu = SimpleCPU(workload=HelloWorld(), mem=mem)
|
|
system = System(physmem=mem, cpu=cpu)
|
|
root = Root(system=system)
|