[ECOS] PowerPC hangs on memory read

Anthony Tonizzo atonizzo@lycos.com
Fri Jun 18 15:05:00 GMT 2004


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



More information about the Ecos-discuss mailing list