summaryrefslogtreecommitdiffstats
path: root/common/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* errno: add strings for network related error messagesSascha Hauer2010-06-171-3/+4
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Combine memory initialization with the main memory functions.Juergen Beisert2009-12-101-49/+0
| | | | | | | | | Memory allocation is very simple in u-boot-v2. So, it makes also sense to add the "operating system" emulation layer into the main memory management source file, to keep them at one place and simple. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
* add strerror functionSascha Hauer2009-05-251-4/+11
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix errno_str without text error messagesSascha Hauer2009-04-061-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Print error numberSascha Hauer2008-11-101-6/+5
| | | | | | | When we do not have the appropriate error string compiled in, print at least the number Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* [general] Fixed crash in memory allocatorCarsten Schlote2008-02-201-1/+3
| | | | | | | | | | | | Fixed a bug in sbrk(). When the new mem_brk value returned by sbrk_no_zero() returns NULL to indicate 'out of memory', sbrk() still memset()s innocent memory at address NULL. For some architectures this memory might be empty, so this never causes a problem. Anyway on Coldfire I still have my vector table there. Nuking them isn't really a good idea :-) Signed-off-by: Carsten Schlote <c.schlote@konzeptpark.de>
* export symbolsSascha Hauer2007-10-071-0/+1
|
* export functionsSascha Hauer2007-10-041-0/+2
|
* display malloc space on startupSascha Hauer2007-09-261-9/+19
|
* svn_rev_706Sascha Hauer2007-07-051-0/+21
| | | | add file headers
* svn_rev_653Sascha Hauer2007-07-051-3/+3
| | | | restructure tree, add reginfo command
* svn_rev_603Sascha Hauer2007-07-051-5/+3
|
* svn_rev_532Sascha Hauer2007-07-051-4/+12
| | | | | | | | | - Do not zero memory in mem_malloc_init because it takes a long time with big memory. Instead zero it when we actually need the memory. - Add sbrk_no_zero() function to allocate memory without zeroing it. This is usefull for scratch mem devices which occupy large chunks of memory
* svn_rev_457Sascha Hauer2007-07-051-0/+3
|
* svn_rev_441Sascha Hauer2007-07-051-6/+16
| | | | add errno_str()
* svn_rev_370Sascha Hauer2007-07-051-1/+1
| | | | fixups for last commit
* svn_rev_369Sascha Hauer2007-07-051-1/+1
| | | | include asm-generic in errno.h instead of all other files
* svn_rev_332Sascha Hauer2007-07-051-3/+7
| | | | make errno messages optional
* svn_rev_267Sascha Hauer2007-07-051-1/+3
|
* svn_rev_262Sascha Hauer2007-07-051-1/+69
| | | | add errno strings
* svn_rev_181Sascha Hauer2007-07-051-2/+8
| | | | add perror function (which does not do much yet)
* svn_rev_173Sascha Hauer2007-07-051-1/+1
| | | | WIP
* svn_rev_167Sascha Hauer2007-07-051-0/+32
ppc startup cleaunup