On Mon, Jun 08, 2009 at 07:23:16PM -0400, Mike Frysinger wrote: > intro: the current Blackfin memory architecture is (1) no virtualized > memory and (2) distinctly harvard. that means we cannot create a > linear map of start/end text sections. we end up with distinct > regions like so: > 00001000 T __stext > 000dc4c0 T __etext > feb00000 A __etext_l2 > feb00010 A __stext_l2 > ffa00000 T __stext_l1 > ffa0160c T __etext_l1 > this is because external memory starts at address 0 while on-chip > regions have different discontiguous hardcoded addresses (L1 > instruction in this case starts at 0xffa00000 while L2 starts at > 0xfeb00000). > > the current kallsyms is written to search for the special stext/etext > symbols only which means the resulting kallsyms output knows nothing > of the Blackfin symbols living in these on-chip regions. we've > written two patches to fix this: the first one is straight forward and > simply copies & pastes the existing hardcoded regions. the second > creates an array of text regions which makes it much easier to extend > in the future for other people (and can be squashed into the first > one). > > doesnt matter to me which method is picked :)
I added both as I liked the generalization. I had to rearrange the "Signed-off-by" in the first patch as this patch came in vai you and not Robin. Sam ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ kbuild-devel mailing list kbuild-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kbuild-devel