[Prism54-devel] Memory allocation question

Margit Schubert-While margitsw at t-online.de
Mon Aug 16 20:41:35 UTC 2004


At 22:29 16.08.2004 +0200, Herbert scribeth:
>On Mon, 2004-08-16 at 22:22 +0200, Margit Schubert-While wrote:
> > >The device_psm_buffer is used to save some register state
> > >during a power-save, but those registers are distinct and
> > >different from those in the priv->control_block.
>
> > No, I am asking why device_psm_buffer is set to "device_host_address + 
> CBSIZE"
> > and not "driver_mem_address + CBSIZE".
>
>...maybe (didn't check the source...) because that address is passed to
>the device (for saving registers to it), since the device knows only
>about bus addresses, and wouldn't have much use for the cpu's virtual
>addresses?

Nice to hear from you Herbert :-)

(Quickly checks source) - Yep, that appears to be the reason.
Why didn't my grey cells get a handle on that - Geez.

Margit 




More information about the Prism54-devel mailing list