From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Fabrice Gautier Cc: "Ecos-List \(E-mail\)" Subject: Re: [ECOS] Memory map: User defined section Date: Fri, 01 Sep 2000 12:36:00 -0000 Message-id: <39B00556.F257D70A@redhat.com> References: <8AE4B526B977D411841F00A0CC334020052C3D@cuz-exchange.sdesigns.net> X-SW-Source: 2000-09/msg00007.html Fabrice Gautier wrote: > > When I define a new section in the memory map with the config tool, I would > like to have a symbol at the end of this section. Currently, if I define a > section FOO, there is a symbol __FOO defined at the beginning, and I would > like to have a __FOO_END at the end. > > How is it possible to had this feature? Does it require a change to the > config tool itself? 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). Other than that, you would need to rebuild the config tool. The sources are in the CVS repository, but require MSVC++ to build them. Jifl -- Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762 "Plan to be spontaneous tomorrow." || These opinions are all my own fault