[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201009100953083354338@gmail.com>
Date: Fri, 10 Sep 2010 09:53:10 +0800
From: "hacklu" <embedway.linux@...il.com>
To: "linux-kernel" <linux-kernel@...r.kernel.org>
Subject: how to understand powerpc's BRx ORx
I didn't understand the address mask.
it's said that: BR[BA] is the base address,the OR[AM] is the address mask,
"Provides masking for corresponding BRx bits. By masking address
bits independently, SDRAM devices of different size address ranges can be used. Clearing
bits masks the corresponding address bit. Setting bits causes the corresponding address
bit to be compared with the address pins. Address mask bits can be set or cleared in any
order, allowing a resource to reside in more than one area of the address map. SDAM can
be read or written at any time."
how to understand it?
for instance, if my BR0[BA]=0111_0000_0000_0000_0, OR0[AM]=1111_1111_1111
if I want to access the 0x70000000 or the 0x71000001.what address calculate will be taken?
thanks all
--------------
hacklu
2010-09-10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists