[Top] [All Lists]

Re: port on exotic board.

To: moreau francis <>
Subject: Re: port on exotic board.
From: "Ilya A. Volynets-Evenbakh" <>
Date: Tue, 21 Dec 2004 18:07:49 -0800
In-reply-to: <>
Organization: Total Knowledge
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040918
CPHYSADDR gives you physical address from an address that lies in
one of compatibility "unmapped" spaces. "compatibility" in this case refers
to 32bit MIPS view of memory space.

As such, CPHYSADDR macro generally should not be used.

Jun Sun wrote:

I noticed CPHYSADDR macro. This macro only works if
PAGE_OFFSET is equal to 0x80000000. Why does this macro exist ? Why not using __pa macro ?

Don't know much about this one.

BTW, once there was a board whose memory starts from 0x90000000.  It had
similar problems as yours, but I think it ran in the end.  Try to search
the mailing list.


<Prev in Thread] Current Thread [Next in Thread>