Hi,

I have been trying to find out what is problem with changing system-ppc to Little-endian here I have taken two examples from qemu debug logs:


Example 1:
IN:   MSR state here is (MSR 0000000000012030)
0x00100860:  stb    r24,0(r26)
0x00100864:  rfi

IN:  MSR state here is(MSR 0000000000002031)
0x00100868:  addi    r0,r1,312
.....(Palindromic inst 38 01 01 38 before executing LE code)
0x001008a4:  addi    r0,r1,312
0x001008a8:  mr    r3,r11
0x001008ac:  mr    r4,r12
0x001008b0:  bl    001016FC

Example 2:
IN: MSR state here is (MSR 0000000000012030)
0x00100a88:  stb    r24,0(r26)
0x00100a8c:  rfi

invalid/unsupported opcode: 1e - 1e - 11 (7863847d) 0x00100ad0 1
IN:
0x00100a90:  addi    r0,r1,312 MSR state here is(MSR 0000000000002031)
.....(Palindromic inst 38 01 01 38 before executing LE code)
0x00100acc:  addi    r0,r1,312
0x00100ad0:  .long 0x7863847d

To me these look just like the same and I cant understand why example 2 crashes. I have used a hex editor and checked that next 4 instructions in both are exactly same(Its easy to do since this is a PREP boot file).



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to