This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PowerPC hangs on memory read
- From: "Anthony Tonizzo" <atonizzo at lycos dot com>
- To: "Nick Garnett" <nickg at ecoscentric dot com>
- Cc: "Andrew Lunn" <andrew at lunn dot ch>, ecos-discuss at sources dot redhat dot com
- Date: Fri, 18 Jun 2004 08:04:56 -0700
- Subject: Re: [ECOS] PowerPC hangs on memory read
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: atonizzo at lycos dot com
Nick:
>It is only called at startup.
I spent a good deal of time trying to go to the bottom of
this. I perused the source code and found that the function
hal_MMU_init() does all the initialization, and for my
board defines 3 areas which I was able to identify. By
placing my PCMCIA memory area in an unused section of one
of the three, my code ran with MMU enabled.
Problem solved, almost.
Infact, I tried to understand the working of it all, and
I noticed that hal_MMU_init() relies on a cyg_hal_mem_map[]
to provide the areas under MMU watch. But I cannot
figure out where cyg_hal_mem_map[] is defined. I grep'd
the whole source tree and it appears in two places
(hal_mem.h and hal_misc.c) and in neither place the
table contents are defined.
When/where are the contents of cyg_hal_mem_map[] defined?
Thanks
Tony
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss