On 21/06/2021 15:31, dufa...@hda.com wrote:

On Jun 21, 2021, at 08:52 , Sebastian Huber<sebastian.hu...@embedded-brains.de> 
 wrote:

What happens when you reduce the memory space for the mbufs to 4MiB? What is the 
"RTEMS work space"?
By "RTEMS work space" I mean the space between bsp_section_work_begin and 
bsp_section_work_end, which I assume is handed over to the unified work space.  I also assume 
allocated "libbsd" data structures come from there.

Yes, the space between bsp_section_work_begin and bsp_section_work_end is used for the heap which is used by libbsd.


After reducing the space for the mbufs I still run out of RAM.  I've been 
patching rtems_bsd_allocator_domain_page_mbuf_size in the debugger for test.  
I'll put it in at compile time but looking at the code that won't make a 
difference.

Which memory allocation fails? Is it in the libbsd initialization or afterwards?

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to