Received: from eggs.gnu.org ([2001:4830:134:3::10]:56218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLxTn-0002nX-Uw for qemu-devel@nongnu.org; Tue, 27 Dec 2016 14:32:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLxTj-00016i-2s for qemu-devel@nongnu.org; Tue, 27 Dec 2016 14:32:12 -0500 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: Programmingkid In-Reply-To: Date: Tue, 27 Dec 2016 14:32:03 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6B96C329-A972-4CBE-A021-36DBAF92EFF9@gmail.com> References: <516AC28F-18A9-4FC9-8028-5AE2F37CB897@gmail.com> <5A9C1952-461A-4829-8916-C2F40EE8E5D8@gmail.com> <7094FB37-03A9-4511-B4A6-519CDA1E6854@gmail.com> Subject: Re: [Qemu-devel] [Qemu-ppc] PowerPC question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?0JTQvNC40YLRgNC40Lkg0KHQvNC40YDQvdC+0LI=?= Cc: qemu-devel qemu-devel , "list@suse.de:PowerPC list:PowerPC" I experience a similar situation with ReactOS. Have you tried it in QEMU = 2.8.0 yet? If you haven't, it is possible the RealTime-OS might work.=20 On Dec 27, 2016, at 2:25 PM, =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 = =D0=A1=D0=BC=D0=B8=D1=80=D0=BD=D0=BE=D0=B2 wrote: > An old RealTime-OS. The requirements -- use QEMU 2.5.1.1 >=20 > 2016-12-27 22:18 GMT+03:00 Programmingkid : >=20 > On Dec 27, 2016, at 2:16 PM, =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 = =D0=A1=D0=BC=D0=B8=D1=80=D0=BD=D0=BE=D0=B2 wrote: >=20 > > Unfortunately, I have to use version 2.5.1.1. Can I do something in = this case? >=20 > Why do you need to use it? What is the guest operating system you are = using? Version 2.8 has a lot more bug fixes in it. You might find it = easier to use. >=20 > > > > 2016-12-27 22:01 GMT+03:00 G 3 : > > The version of qemu-system-ppc you are using is kind of old. Version = 2.8.0 is the newest version. I suggest trying the newest version before = trying to fix a broken feature in an older version. > > > > http://wiki.qemu.org/Download > > > > > > On Dec 27, 2016, at 1:57 PM, =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9= =D0=A1=D0=BC=D0=B8=D1=80=D0=BD=D0=BE=D0=B2 wrote: > > > > qemu-system-ppc version: 2.5.1.1 > > > > Ubuntu 14.04 > > gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) > > GTK 2.0, libsdl1.2-dev > > ./configure --target-list=3D"ppc-softmmu" --disable-xfsctl > > > > By zero meaning, do you mean this: decr =3D 0 > > Yes. > > > > > > 2016-12-27 21:16 GMT+03:00 G 3 : > > When I type 'info registers', I see 'DECR 3919147695' at the top of = the screen, so it appears to be working. I think we need more = information from you. > > > > qemu-system-ppc version: > > > > gcc version (gcc -v): > > > > Host info: Ubuntu > > > > Front-end (GTK, SDL, ...): > > > > Compile command: ./configure .... > > > > Note: please respond to this email with "reply all". That way = everyone can try to help you. > > > > On Dec 27, 2016, at 1:06 PM, =D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9= =D0=A1=D0=BC=D0=B8=D1=80=D0=BD=D0=BE=D0=B2 wrote: > > > > All the registers, which are printing with 'info registers', dump to = file before (./target-ppc/translate.c), but there is no SPR_DECR. > > I tried to add in 'translate.c' and ./monitor.c some code (print of = cpu_ppc_load_decr(env), print of env->spr[SPR_DECR]), but I have zero = meaning. Also I tried 'p $decr' with the same answer. > > > > By zero meaning, do you mean this: decr =3D 0 > > > > Maybe I have this problem, because I using VirtualBox->Ubuntu->Qemu? > > > > This should not be a problem. An emulator can run anywhere. > > > > > > 2016-12-27 18:52 GMT+03:00 G 3 : > > > > > > On Dec 27, 2016, at 10:38 AM, qemu-ppc-request@nongnu.org wrote: > > > > Hello, devs! > > > > I'm using ppc-softmmu target, and in my qemu monitor I need to print = the > > SPR_DECR meaning, but I don't understand how. > > Could anyone help me with my problem? > > > > Best regards! > > > > I think you want to try the 'info registers' command in the monitor. > > > > > > > > > > > > >=20 >=20