qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] usermode emulation for ppc host
@ 2005-08-30 17:42 Antonio Vargas
  2005-08-31 15:40 ` [Qemu-devel] " Antonio Vargas
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Vargas @ 2005-08-30 17:42 UTC (permalink / raw)
  To: qemu-devel

Having a look at the sources, I've noticed that extra ppc registers
are only used when doing usermode-inly emulation and not when doing
fullsystem-mode. Can anyone tell me where should I look for problems
when disabling that restriction? I've already tried to enable the use
of these registers but of course it's there for some reason as it
doesn't boot anything when I enable them.

-- 
Greetz, Antonio Vargas aka winden of network

http://wind.codepixel.com/

Las cosas no son lo que parecen, excepto cuando parecen lo que si son.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: usermode emulation for ppc host
  2005-08-30 17:42 [Qemu-devel] usermode emulation for ppc host Antonio Vargas
@ 2005-08-31 15:40 ` Antonio Vargas
  2005-08-31 20:55   ` J. Mayer
  0 siblings, 1 reply; 3+ messages in thread
From: Antonio Vargas @ 2005-08-31 15:40 UTC (permalink / raw)
  To: qemu-devel

On 8/30/05, Antonio Vargas <windenntw@gmail.com> wrote:
> Having a look at the sources, I've noticed that extra ppc registers
> are only used when doing usermode-inly emulation and not when doing
> fullsystem-mode. Can anyone tell me where should I look for problems
> when disabling that restriction? I've already tried to enable the use
> of these registers but of course it's there for some reason as it
> doesn't boot anything when I enable them.

OK.. more inspection has revealed ppc/op_helper.c which states:

"XXX: fix it to restore all registers"

looks like registers could be smashed when entering it and not being
saved/restored by gcc??? will have to find out more...

-- 
Greetz, Antonio Vargas aka winden of network

http://wind.codepixel.com/

Las cosas no son lo que parecen, excepto cuando parecen lo que si son.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Re: usermode emulation for ppc host
  2005-08-31 15:40 ` [Qemu-devel] " Antonio Vargas
@ 2005-08-31 20:55   ` J. Mayer
  0 siblings, 0 replies; 3+ messages in thread
From: J. Mayer @ 2005-08-31 20:55 UTC (permalink / raw)
  To: qemu-devel

On Wed, 2005-08-31 at 17:40 +0200, Antonio Vargas wrote:
> On 8/30/05, Antonio Vargas <windenntw@gmail.com> wrote:
> > Having a look at the sources, I've noticed that extra ppc registers
> > are only used when doing usermode-inly emulation and not when doing
> > fullsystem-mode. Can anyone tell me where should I look for problems
> > when disabling that restriction? I've already tried to enable the use
> > of these registers but of course it's there for some reason as it
> > doesn't boot anything when I enable them.
> 
> OK.. more inspection has revealed ppc/op_helper.c which states:
> 
> "XXX: fix it to restore all registers"
> 
> looks like registers could be smashed when entering it and not being
> saved/restored by gcc??? will have to find out more...

Do you mean PPC host or target ?
target-ppc subdirectory is used when emulating a PowerPC, that is for
PPC target.
If you really talk about PowerPC host emulation, not PowerPC target,
then target-ppc subdirectory code is not concerned.

-- 
J. Mayer <l_indien@magic.fr>
Never organized

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-31 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-30 17:42 [Qemu-devel] usermode emulation for ppc host Antonio Vargas
2005-08-31 15:40 ` [Qemu-devel] " Antonio Vargas
2005-08-31 20:55   ` J. Mayer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).