[ECOS] Reserved Memory
Tim Sohacki
tsohacki@telesyn.com
Tue Feb 1 13:05:00 GMT 2005
Is there a configuration to reserve a block of memory outside the eCos
heap (but that is still configured as R/W memory)? I am using a MPC8270
PPC.
For those who are familiar with vxWorks, a macro is available,
USER_RESERVED_MEM, to define an amount of memory that is left untouched
by the operating system. This memory region is reserved at the end of
memory, ending on the highest memory address. How would this be
accomplished with eCos?
An example memory map with a 1 MB reserved region:
0x0000_0000: vector stubs
0x0004_0000: start of program
0x00xx_xxxx: end of program
0x00xx_xxxy: start of heap
0x01EF_FFFF: "end of heap" // to be added
0x01F0_FFFF: "start of reserved memory" // to be added
0x0200_0000: end of memory
This memory region will be used to store debug information across
reboots (not power cycles), so the area must *not* be initialized to a
known value by the operating system.
Thanks in advance.
Cheers,
Tim.
--
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