This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Patch: make minimum memory alignment configurable
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Eric Doenges <Eric dot Doenges at DynaPel dot com>
- Cc: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: Mon, 6 Oct 2003 18:42:14 +0200
- Subject: Re: Patch: make minimum memory alignment configurable
- References: <3F7990FD.3040808@DynaPel.com>
On Tue, Sep 30, 2003 at 04:19:41PM +0200, Eric Doenges wrote:
> The included patch make the minimum memory alignment used by Doug Lea's
> memory allocator (dlmalloc) configurable via the configuration tool.
> This is necessary (for me) since some hardware units on my target
> require memory allocated on 16 byte boundaries, but eCos does not seem
> to provide posix_memalign() or something equivalent. While writing
> a posix_memalign() implementation would clearly be the better solution,
> this is much simpler and quicker.
Committed
Thanks
Andrew