+++ /dev/null
-# 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 *
+++ /dev/null
-# 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 *
+++ /dev/null
-
-MEMORY
-{
- ram : ORIGIN = 0x20000000, LENGTH = 128M
-}
-
-SECTIONS
-{
- .text : { *(.text*) } > ram
- .bss : { *(.text*) } > ram
-}
+++ /dev/null
-# 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 *
+++ /dev/null
-# 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 *
+++ /dev/null
-*.bin
-*.elf
-*.o
-*~
+++ /dev/null
-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 $@
+++ /dev/null
-# Qemu test directory
-
-To launch and debug qemu, run the following:
-```
-make
-./launch.sh
-powerpc64-linux-gnu-gdb -x gdbscript
-```
+++ /dev/null
-target remote localhost:1234
-layout asm
-b *0x20000000
-c
+++ /dev/null
-qemu-system-ppc64 -machine powernv9 -nographic -s -S -kernel kernel.bin
+++ /dev/null
-
-MEMORY
-{
- ram : ORIGIN = 0x20000000, LENGTH = 128M
-}
-
-SECTIONS
-{
- .text : { *(.text*) } > ram
- .bss : { *(.text*) } > ram
-}
+++ /dev/null
- lis 1, 0xdead
- ori 1, 1, 0xbeef
- lis 2, 0x2000
- ori 2, 2, 0x0100
- std 1, 0(2)
- lhz 1, 4(2)