linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* how to understand powerpc's BRx ORx
@ 2010-09-10  5:56 hacklu
  2010-09-10 13:37 ` Kumar Gala
  2010-09-12 21:08 ` Baurzhan Ismagulov
  0 siblings, 2 replies; 3+ messages in thread
From: hacklu @ 2010-09-10  5:56 UTC (permalink / raw)
  To: linuxppc-dev

 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-12 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-10  5:56 how to understand powerpc's BRx ORx hacklu
2010-09-10 13:37 ` Kumar Gala
2010-09-12 21:08 ` Baurzhan Ismagulov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).