From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Gautier To: 'Jonathan Larmour' , Fabrice Gautier Cc: "Ecos-List (E-mail)" Subject: RE: [ECOS] Memory map: User defined section Date: Fri, 15 Sep 2000 19:58:00 -0000 Message-id: <8AE4B526B977D411841F00A0CC334020052C5B@cuz-exchange.sdesigns.net> X-SW-Source: 2000-09/msg00258.html > -----Original Message----- > From: Jonathan Larmour [ mailto:jlarmour@redhat.com ] > Sent: Friday, September 01, 2000 12:37 PM > To: Fabrice Gautier > Cc: Ecos-List (E-mail) > Subject: Re: [ECOS] Memory map: User defined section > > > Do you really need it? If you include the appropriate MLT > generated .h file > (by using > #include > #include CYGHWR_MEMORY_LAYOUT_H > ) you can get the end by using (&CYGMEM_SECTION_FOO + > CYGMEM_SECTION_FOO_SIZE). I just try the solution you gave me some time ago, but it seems that in the target.ld script the symbol is __FOO while the .h file assume it is _FOO. Don't know which is worng and where this should be changed. Thanks -- Fabrice Gautier fabrice_gautier@sdesigns.com