This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Memory map: User defined section


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 <pkgconf/system.h>
#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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]