Hi! This patch replaces hardcoded MIPS Malta bootloader with "soft" version. This preserves ROM area clean. Also it initializes MIPS $sp register as YAMON does.
The GPR values before execution: === less /tmp/qemu.log === ------------------------------------------------ pc=0x80294040 HI=0x00000000 LO=0x00000000 ds 0002 00000000 0 GPR00: r0 00000000 at 00000000 v0 00000000 v1 00000000 GPR04: a0 00000002 a1 80002000 a2 80002008 a3 08000000 ... GPR28: gp 00000000 sp 80003ff8 s8 00000000 ra 00000000 CP0 Status 0x00400004 Cause 0x00000400 EPC 0x00000000 Config0 0x80000082 Config1 0x9e190c8b LLAddr 0x00000000 -- -=AV=-
malta-bootloader.patch
Description: Binary data
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel