summaryrefslogtreecommitdiff
path: root/configs/test
diff options
context:
space:
mode:
Diffstat (limited to 'configs/test')
-rwxr-xr-xconfigs/test/hellobin0 -> 312176 bytes
-rw-r--r--configs/test/test.py10
2 files changed, 10 insertions, 0 deletions
diff --git a/configs/test/hello b/configs/test/hello
new file mode 100755
index 000000000..59c0d195c
--- /dev/null
+++ b/configs/test/hello
Binary files differ
diff --git a/configs/test/test.py b/configs/test/test.py
new file mode 100644
index 000000000..0982ba4f2
--- /dev/null
+++ b/configs/test/test.py
@@ -0,0 +1,10 @@
+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)