This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why virtual address and Physical address are different in the memory layout of IXPD425 board ?


Hello:

I was going through the memory laout of an IXPD425
board provided in the following link:-

http://sources.redhat.com/ecos/docs-latest/redboot/ixdp425.html


It has following lines.


Virtual Address   Physical Address  XCB  Description
0x00000000       0x00000000         010  SDRAM
(cached)
0x10000000       0x00000000         010  SDRAM (alias)
0x20000000       0x00000000        000 SDRAM
(uncached)

Now, I have following questions.

1. Why in the third line (SDRAM uncached), the virtual
address and physical address are different? I know
that virtual address can be different from the
physical address. But normally it is not in the
embedded scenario. 

2. Who is going to use this address? I have seen that
all the addresses are assigned in the .ld file and
those are static allocation. If this is true, then how
this virtual address will be used. 

May be 'am missing some fundamental concept. I would
be nice if anyone can help me in understanding this
concept in a better way.

Thanks in advance.

Regards,
Sujoy Ray.




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]