qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/sun4m.c fix power addresses


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] hw/sun4m.c fix power addresses
Date: Sat, 26 Jan 2008 09:59:17 +0200

On 1/25/08, Robert Reif <address@hidden> wrote:
> Blue Swirl wrote:
>
> >On 1/24/08, Robert Reif <address@hidden> wrote:
> >
> >
> >>diff -p -u -r1.81 sun4m.c
> >>
> >>
> >
> >This breaks my tests, so I guess a fix is also needed for OpenBIOS.
> >
> >
> Probably, they were tested using ss5/170 and ss10 openboot images.

I just noticed that we have confused the devices that OBP calls
'power' and 'power-management'. Power or Aux 2 or Software Powerdown
Control can be used to reset or power down the system. OBP trees
confirm that it is located at 0x71910000 on SS-5 and 0xff1a01000 on
SS-10/20. It does not exist on SS-600.

Power-management a.k.a. APC is used to halt the CPU when idle. It is
located at 0x6a000000 on SS-5. It does not exist on SS-x0 or SS-600.

So, Aux2 on SS-10/20 and APC on SS-5 should move to the correct locations.

Now, what to do with the rest? These are motherboard devices, they
cannot be added to or removed from real life hardware. Leaving the
devices out to improve historical accuracy would mean that the system
can't be reset or powered down on SS-600, and on SS-10/20/600 Qemu
will consume 100% of host CPU even when the target is idling. This
would not be an improvement in usability for sure.




reply via email to

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