linux-mips
[Top] [All Lists]

Re: port on exotic board.

To: moreau francis <francis_moreau2000@yahoo.fr>
Subject: Re: port on exotic board.
From: "Ilya A. Volynets-Evenbakh" <ilya@total-knowledge.com>
Date: Tue, 21 Dec 2004 18:07:49 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <20041222012715.GA13782@gw.junsun.net>
Organization: Total Knowledge
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041221085307.3009.qmail@web25107.mail.ukl.yahoo.com> <20041222012715.GA13782@gw.junsun.net>
Sender: linux-mips-bounce@linux-mips.org
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.

Jun



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