[ECOS] memory on linux synthetic target

Tom Coremans tom.coremans@acunia.com
Mon Feb 25 04:28:00 GMT 2002


Hi,

I`m woriking on the Linux synthetic target and wan`t to increase the
size of the heap ecos uses.

Is it enough that I change the size of the RAM in the
mlt_synth_i386_rom.ldi file where I find:

MEMORY
{
    rom : ORIGIN = 0x1000000, LENGTH = 0x800000
    ram : ORIGIN = 0x2000000, LENGTH = 0x800000
}

and change the size in the mlt_synth_i386_rom.h file where I find:

#define CYGMEM_REGION_ram (0x2000000)
#define CYGMEM_REGION_ram_SIZE (0x800000)
#define CYGMEM_REGION_ram_ATTR (CYGMEM_REGION_ATTR_R |
CYGMEM_REGION_ATTR_W)

or is there anything else I should do to make this work?

Thanks,

Tom


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list