summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc04 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* testsuites/libtests/[m-z]*: Change license to BSD-2Joel Sherrill2022-04-121-3/+22
| | | | Updates #3053.
* testsuites/libtests/[d-o]*: Change license to BSD-2Joel Sherrill2022-04-071-3/+22
| | | | Updates #3053.
* libc: Optimize malloc() initializationSebastian Huber2021-11-301-15/+22
| | | | | | | | | | | | | | | | The BSPs provide memory for the separate C Program Heap initialization via _Memory_Get(). Most BSPs provide exactly one memory area. Only two BSPs provide more than one memory area (arm/altera-cyclone-v and bsps/powerpc/mpc55xxevb). Only if more than one memory area is provided, there is a need to use _Heap_Extend(). Provide two implementations to initialize the separate C Program Heap and let the BSP select one of the implementations based on the number of provided memory areas. This gets rid of a dependency on _Heap_Extend(). It also avoids dead code sections for most BSPs. Change licence to BSD-2-Clause according to file history. Update #3053.
* libtests/malloc04: Fix typoSebastian Huber2020-02-041-1/+1
| | | | Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-041-16/+16
| | | | | | | | | | | | | | | | | | | | The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
* testsuite/libtests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-21/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-212-2/+2
|
* tests/libtests: Use <rtems/test.h>Sebastian Huber2014-03-201-2/+6
|
* libtests/malloc04: Fixes for RTEMS_DEBUG 2nd trySebastian Huber2013-07-262-17/+17
|
* libtests/malloc04: Fixes for RTEMS_DEBUGSebastian Huber2013-07-262-17/+17
|
* libtests/malloc04: Prevent compiler optimizationsSebastian Huber2013-05-101-1/+6
|
* libtests/malloc04: Adjust for new sbrk() supportSebastian Huber2013-05-033-49/+84
|
* score: Work area initialization API changeSebastian Huber2012-10-251-14/+29
| | | | | | | | | | | | The work areas (RTEMS work space and C program heap) will be initialized now in a separate step and are no longer part of rtems_initialize_data_structures(). Initialization is performed with tables of Heap_Area entries. This allows usage of scattered memory areas present on various small scale micro-controllers. The sbrk() support API changes also. The bsp_sbrk_init() must now deal with a minimum size for the first memory chunk to take the configured work space size into account.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-113-9/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+5
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-5/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | PR 1589/build * block01/Makefile.am, block02/Makefile.am, block03/Makefile.am, block04/Makefile.am, block05/Makefile.am, block06/Makefile.am, block07/Makefile.am, block08/Makefile.am, block09/Makefile.am, block10/Makefile.am, bspcmdline01/Makefile.am, cpuuse/Makefile.am, devfs01/Makefile.am, devfs02/Makefile.am, devfs03/Makefile.am, devfs04/Makefile.am, deviceio01/Makefile.am, devnullfatal01/Makefile.am, dumpbuf01/Makefile.am, ftp01/Makefile.am, gxx01/Makefile.am, heapwalk/Makefile.am, malloc02/Makefile.am, malloc03/Makefile.am, malloc04/Makefile.am, malloc05/Makefile.am, malloctest/Makefile.am, monitor/Makefile.am, monitor02/Makefile.am, mouse01/Makefile.am, putenvtest/Makefile.am, rtems++/Makefile.am, rtmonuse/Makefile.am, stackchk/Makefile.am, stackchk01/Makefile.am, stringto01/Makefile.am, tar01/Makefile.am, tar02/Makefile.am, tar03/Makefile.am, termios/Makefile.am, termios01/Makefile.am, termios02/Makefile.am, termios03/Makefile.am, termios04/Makefile.am, termios05/Makefile.am, termios06/Makefile.am, termios07/Makefile.am, termios08/Makefile.am, tztest/Makefile.am: Remove obsolete optional manager capability.
* 2011-10-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-221-1/+2
| | | | * malloc04/init.c: Define p1, p2, p3, p4 extern (Avoid warnings).
* 2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-122-41/+0
| | | | | * malloc04/init.c, malloc04/malloc04.scn: Remove test cases which are obsolete.
* 2011-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-05-061-4/+4
| | | | * malloc04/init.c: Fix tests broken in warning pass.
* 2011-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-05-051-1/+10
| | | | | | * devnullfatal01/testcase.h, malloc02/init.c, malloc04/init.c, malloctest/init.c, termios03/termios_testdriver_polled.c, termios04/termios_testdriver_intr.c: Remove warnings.
* Add HAVE_CONFIG_H.Ralf Corsepius2011-02-221-0/+4
|
* 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-101-16/+18
| | | | | | PR 1661/testing * malloc04/init.c: Add public methods to get/set malloc heap pointer so the tests do not have to peer behind the API.
* 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-142-2/+18
| | | | | | PR 1535/tests * malloc04/init.c, malloc04/malloc04.scn: Address issues in test. A mix of work by Ralf and Joel.
* 2010-07-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-085-0/+191
* Makefile.am, configure.ac: Add test for exercising sbrk() extension to Malloc Family. * malloc04/.cvsignore, malloc04/Makefile.am, malloc04/init.c, malloc04/malloc04.doc, malloc04/malloc04.scn: New files.