[Prism54-devel] Memory allocation question

Herbert Valerio Riedel hvr at hvrlab.org
Mon Aug 16 20:29:33 UTC 2004


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?

regards,
-- 
Herbert Valerio Riedel <hvr at hvrlab.org>



More information about the Prism54-devel mailing list