qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Qemu PPC LE mode problems...


From: Tero Kaarlela
Subject: [Qemu-devel] Qemu PPC LE mode problems...
Date: Mon, 04 Jul 2005 23:23:42 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]