This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
about cygmem_memalloc_heaps variable
- From: "peter_ku" <peter_ku at issc dot com dot tw>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 14 May 2002 21:31:07 +0800
- Subject: [ECOS] about cygmem_memalloc_heaps variable
Hi
My hw-target is E7T, when I trace the code
in malloc.cxx
# define POOL (*cygmem_memalloc_heaps[0])
void *
malloc( size_t size )
{
.....
data_ptr = POOL.try_alloc( size );
.....
}
in heap.hxx
extern Cyg_Mempool_dlmalloc *cygmem_memalloc_heaps[ 2 ];
I can't see where to declare the cygmem_memalloc_heaps variable.
Any one can help me?
Thanks a lot!!
Best Regards,
Peter