This is the mail archive of the ecos-patches@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]
Other format: [Raw text]

Re-2: Support for run-time heapsizing and multiple heaps


> Can you tell me in what scenario HAL_MEM_REAL_REGION_TOP is not capable of 
> handling this already? It should be able to map arbitrary addresses of 
> tops of heaps at runtime. It was very much intended to handle this type of 
> scenario.

We have the following scenario:

Two memory areas, one is fixed 2 MB size, the other may 2 MB or 0 MB. In the first area we have heap1, heap2 is in the second area. HAL_MEM_REAL_REGION_TOP handles this pretty well, but when the constructor of Cyg_Mempool_Joined is called it fails when heap2 is 0 MB size. That should be fixed by my patch.

Cheers,
Dirk

To: jifl@jifvik.org
Cc: ecos-patches@ecos.sourceware.org


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