This is the mail archive of the ecos-discuss@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]

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



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