[Dri-devel] PPC Lockup (ati-pcigart-branch)

Roman Zippel zippel at fh-brandenburg.de
Tue Jan 23 09:31:11 EST 2001


Hi,

On Mon, 22 Jan 2001, Dan Malek wrote:

> > ......  Currently there is no kernel function to do
> > this explicitly
>
> I'm working on that.  The PowerPC port cheated by using BATs and
> trivial macros, but this doesn't work on some of the newer processors
> and more complex applications.  Other architectures did the same, and
> I am surprised there aren't generic kernel functions to track down this
> information.  In fact, these functions are already present for 4xx and
> 8xx processors, so don't write anything new.

AFAIK such tricks are used for mapping normal (low) memory and ioremapped
areas. For normal memory you can use phys_to_virt()/virt_to_phys() and for
ioremapped memory, you have to store the physical and virtual address
yourself. What am I missing?

bye, Roman


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list