qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-ppc] PowerPC question


From: Дмитрий Смирнов
Subject: Re: [Qemu-devel] [Qemu-ppc] PowerPC question
Date: Tue, 27 Dec 2016 21:57:18 +0300

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="ppc-softmmu" --disable-xfsctl

By zero meaning, do you mean this: decr = 0

Yes.


2016-12-27 21:16 GMT+03:00 G 3 <address@hidden>:

> 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 <version>
>
> 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, Дмитрий Смирнов 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 = 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 <address@hidden>:
>>
>>
>> On Dec 27, 2016, at 10:38 AM, address@hidden 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.
>>
>>
>
>


reply via email to

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