remove simulator directory, moved to openpower-isa
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 15:16:00 +0000 (16:16 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 15:16:00 +0000 (16:16 +0100)
15 files changed:
src/soc/simulator/__init__.py [deleted file]
src/soc/simulator/envcmds.py [deleted file]
src/soc/simulator/gas.py [deleted file]
src/soc/simulator/memmap [deleted file]
src/soc/simulator/program.py [deleted file]
src/soc/simulator/qemu.py [deleted file]
src/soc/simulator/qemu_test/.gitignore [deleted file]
src/soc/simulator/qemu_test/Makefile [deleted file]
src/soc/simulator/qemu_test/README.md [deleted file]
src/soc/simulator/qemu_test/__init__.py [deleted file]
src/soc/simulator/qemu_test/condition.patch [deleted file]
src/soc/simulator/qemu_test/gdbscript [deleted file]
src/soc/simulator/qemu_test/launch.sh [deleted file]
src/soc/simulator/qemu_test/memmap [deleted file]
src/soc/simulator/qemu_test/test.s [deleted file]

diff --git a/src/soc/simulator/__init__.py b/src/soc/simulator/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/soc/simulator/envcmds.py b/src/soc/simulator/envcmds.py
deleted file mode 100644 (file)
index 29b284b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# moved to openpower-isa
-# https://git.libre-soc.org/?p=openpower-isa.git;a=summary
-# wildcard imports here ONLY to support migration
-
-from openpower.simulator.envcmds import *
diff --git a/src/soc/simulator/gas.py b/src/soc/simulator/gas.py
deleted file mode 100644 (file)
index cb5d73f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# moved to openpower-isa
-# https://git.libre-soc.org/?p=openpower-isa.git;a=summary
-# wildcard imports here ONLY to support migration
-
-from openpower.simulator.gas import *
diff --git a/src/soc/simulator/memmap b/src/soc/simulator/memmap
deleted file mode 100644 (file)
index 8cc1a16..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-
-MEMORY
-{
-    ram  : ORIGIN = 0x20000000, LENGTH = 128M
-}
-
-SECTIONS
-{
-   .text : { *(.text*) } > ram
-   .bss  : { *(.text*) } > ram
-}
diff --git a/src/soc/simulator/program.py b/src/soc/simulator/program.py
deleted file mode 100644 (file)
index 550d4cb..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# moved to openpower-isa
-# https://git.libre-soc.org/?p=openpower-isa.git;a=summary
-# wildcard imports here ONLY to support migration
-
-from openpower.simulator.program import *
diff --git a/src/soc/simulator/qemu.py b/src/soc/simulator/qemu.py
deleted file mode 100644 (file)
index f07827b..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# moved to openpower-isa
-# https://git.libre-soc.org/?p=openpower-isa.git;a=summary
-# wildcard imports here ONLY to support migration
-
-from openpower.simulator.qemu import *
diff --git a/src/soc/simulator/qemu_test/.gitignore b/src/soc/simulator/qemu_test/.gitignore
deleted file mode 100644 (file)
index 416ab3a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-*.bin
-*.elf
-*.o
-*~
diff --git a/src/soc/simulator/qemu_test/Makefile b/src/soc/simulator/qemu_test/Makefile
deleted file mode 100644 (file)
index 88833cd..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-TOOLCHAIN=powerpc64-linux-gnu
-CC=$(TOOLCHAIN)-gcc
-AS=$(TOOLCHAIN)-as
-AFLAGS=-mpwr9
-
-all: kernel.bin
-
-clean:
-       rm *.o *.elf *.bin
-
-kernel.elf: test.o
-       $(TOOLCHAIN)-ld $^ -o $@ -T memmap
-
-kernel.bin: kernel.elf
-       $(TOOLCHAIN)-objcopy $< -O binary $@
-
-%.o: %.s
-       $(AS) $(AFLAGS) -c $< -o $@
diff --git a/src/soc/simulator/qemu_test/README.md b/src/soc/simulator/qemu_test/README.md
deleted file mode 100644 (file)
index 32f90ee..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# Qemu test directory
-
-To launch and debug qemu, run the following:
-```
-make
-./launch.sh
-powerpc64-linux-gnu-gdb -x gdbscript
-```
diff --git a/src/soc/simulator/qemu_test/__init__.py b/src/soc/simulator/qemu_test/__init__.py
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/soc/simulator/qemu_test/condition.patch b/src/soc/simulator/qemu_test/condition.patch
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/src/soc/simulator/qemu_test/gdbscript b/src/soc/simulator/qemu_test/gdbscript
deleted file mode 100644 (file)
index 1337e6a..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-target remote localhost:1234
-layout asm
-b *0x20000000
-c
diff --git a/src/soc/simulator/qemu_test/launch.sh b/src/soc/simulator/qemu_test/launch.sh
deleted file mode 100755 (executable)
index 2844553..0000000
+++ /dev/null
@@ -1 +0,0 @@
-qemu-system-ppc64 -machine powernv9 -nographic -s -S -kernel kernel.bin
diff --git a/src/soc/simulator/qemu_test/memmap b/src/soc/simulator/qemu_test/memmap
deleted file mode 100644 (file)
index 8cc1a16..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-
-MEMORY
-{
-    ram  : ORIGIN = 0x20000000, LENGTH = 128M
-}
-
-SECTIONS
-{
-   .text : { *(.text*) } > ram
-   .bss  : { *(.text*) } > ram
-}
diff --git a/src/soc/simulator/qemu_test/test.s b/src/soc/simulator/qemu_test/test.s
deleted file mode 100644 (file)
index fb2ec15..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-       lis 1, 0xdead
-       ori 1, 1, 0xbeef
-       lis 2, 0x2000
-       ori 2, 2, 0x0100
-       std 1, 0(2)
-       lhz 1, 4(2)