summaryrefslogtreecommitdiffstats
path: root/include/malloc.h
Commit message (Collapse)AuthorAgeFilesLines
* malloc: Add a function to detect if malloc pool is already initializedSascha Hauer2015-01-051-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* malloc.h: fix codingstyleSascha Hauer2014-07-091-9/+6
| | | | | | | - Remove trailing newline - use void *fn instead of void* fn Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dlmalloc: remove unused functionsSascha Hauer2014-07-091-7/+0
| | | | | | | | | | | | | remove unused function declarations and definitions: - vallocc is #if 0 in source code - pvalloc is defined but not used - cfree is defined but not used - malloc_usable_size is unused - mallopt is not defined - mallinfo is not defined Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* malloc: put common memory functions to seperate fileSascha Hauer2011-04-111-0/+1
| | | | | | | These functions are needed independently of the specific malloc implementation, so move them out. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Use nowadays function prototypesJuergen Beisert2009-12-101-9/+0
| | | | | | | | Use a function prototype style as used in all other u-boot-v2 sources, too. Also remove C++ support. We do not use C++ in this project. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* After moving all declarations to the C source, do the same with the docJuergen Beisert2009-12-101-217/+0
| | | | | | | Done in preparation to provide this documentation for doxygen. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove confusing macros that hide the real functions namesJuergen Beisert2009-12-101-107/+13
| | | | | | | | | This feature is provided, to support more than u-boot-v2. But its more confusing than helpful. Remove it and do it straight forward like all other sources in this tree, too. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Use the native 'void' instead of 'Void_t'Juergen Beisert2009-12-101-23/+15
| | | | | | | We are in the *NIX world, so keep a 'void' as is. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Move private settings and configuration into the C sourceJuergen Beisert2009-12-101-475/+0
| | | | | | | | | | | Include the board config first to be able to configure the memory management in the documented way. If not used, the defaults are used. On the other hand, there is no need to pollute the other source files with these local management settings. So, move them from the header into the C source file. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Remove unused codeJuergen Beisert2009-12-101-99/+0
| | | | | | | | Remove unused code to get a better understanding what really is happen in the source. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* Include the 'size_t' declarationJuergen Beisert2009-12-101-0/+1
| | | | | | | The 'size_t' declaration is needed for the function prototypes. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* include/malloc.h: add multiple inclusion protectionSascha Hauer2009-02-201-1/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix warnings in malloc code introduced by last commitsSascha Hauer2008-06-031-1/+1
|
* svn_rev_013Sascha Hauer2007-07-051-4/+0
| | | | unifdef HAVE_USR_INCLUDE_MALLOC_H
* svn_rev_010Sascha Hauer2007-07-051-15/+0
| | | | unifdef HAVE_MMAP
* svn_rev_003Sascha Hauer2007-07-051-3/+0
| | | | remove all #if 0 and #if 1
* * Code cleanup:wdenk2003-06-271-53/+46
| | | | | | | | | - remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
* Initial revisionwdenk2002-11-031-0/+949