add qemuopts
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 12:49:09 +0000 (13:49 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 12:49:09 +0000 (13:49 +0100)
src/openpower/simulator/qemu_test/memmap [new file with mode: 0644]
src/openpower/simulator/qemu_test/qemuopts.txt [new file with mode: 0755]

diff --git a/src/openpower/simulator/qemu_test/memmap b/src/openpower/simulator/qemu_test/memmap
new file mode 100644 (file)
index 0000000..8cc1a16
--- /dev/null
@@ -0,0 +1,11 @@
+
+MEMORY
+{
+    ram  : ORIGIN = 0x20000000, LENGTH = 128M
+}
+
+SECTIONS
+{
+   .text : { *(.text*) } > ram
+   .bss  : { *(.text*) } > ram
+}
diff --git a/src/openpower/simulator/qemu_test/qemuopts.txt b/src/openpower/simulator/qemu_test/qemuopts.txt
new file mode 100755 (executable)
index 0000000..06d7c9c
--- /dev/null
@@ -0,0 +1 @@
+-machine powernv9 -nographic -s -S -kernel kernel.bin