audk/StdLib/LibC/StdLib
Daryl McDaniel 7292c69b2a StdLib: Modify the memory allocation routines to not be dependent upon the internal structure of the EDK II memory pool.
StdLib/LibC/StdLib/Malloc.c
Create a private data structure, CPOOL_HEAD, which contains housekeeping information for StdLib’s memory allocation functions.  An instance of this structure is prepended to every chunk of allocated memory.  The structure links the allocation into a doubly-linked list and keeps track of the size of each allocation unit.  This information is then available for use by the realloc function.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
Reviewed-by:  Rosenbaum, Lee G <lee.g.rosenbaum@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15319 6f19259b-4bc3-4df7-8a09-765794883524
2014-03-07 01:05:30 +00:00
..
Bsearch.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Environs.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Malloc.c StdLib: Modify the memory allocation routines to not be dependent upon the internal structure of the EDK II memory pool. 2014-03-07 01:05:30 +00:00
NumericInt.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Qsort.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Rand.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
StdLib.inf Add Socket Libraries. 2011-07-30 00:30:44 +00:00
Xabs.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
Xdiv.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
realpath.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
setprogname.c StdLib: Revise the meaning of several feature macros. 2011-11-03 00:01:24 +00:00
strtoimax.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
strtoumax.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00