qemu-ppc
[Top][All Lists]
Advanced

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

Re: [Qemu-ppc] Qemu pSeries AIX ADB boot


From: Thomas Huth
Subject: Re: [Qemu-ppc] Qemu pSeries AIX ADB boot
Date: Tue, 12 Jun 2012 11:11:10 +0200

Am Tue, 12 Jun 2012 10:45:28 +0200
schrieb Alexander Graf <address@hidden>:

> Michael Sabino wrote:
[...]
> > Here is some sPAPR pSeries Partition Pool code that I think is better
> > than the version in the aix qemu tree. It seems to compile, but it
> > does not get me any further as far as I can tell.
> >
> > It's based on the suggestion of Alex to look at
> > http://lxr.free-electrons.com/source/arch/powerpc/kernel/lparcfg.c?a=m68k#L108.
> >
> > static target_ulong h_get_ppp(CPUPPCState *env, sPAPREnvironment *spapr,
> >                               target_ulong opcode, target_ulong *args)
> > {
> >     printf("\nh_get_ppp might not be right yet\n");
> >     env->gpr[4] = 100; // Processor capacity percentage
> >     env->gpr[5] = 0; // Unallocated processor capacity percentage
> 
> This won't work. args is synchronized back onto the GPRs.

That does not sound nice ... where does this happen? And what's the
correct way to set a GPR in a hypercall?

 Thomas




reply via email to

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