]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Improve/augment memory allocation functions
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:26:57 +0000 (10:26 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 9 Jan 2014 00:24:19 +0000 (17:24 -0700)
commit77595c6d9e2c1af9c3b143f496c4c47d0e95a458
treefd18c5f9e08c1a556ad703eb1e9b1086164cf8f6
parentf4d8de48f5a2aa1885daa0d425b8c0568a2ccb69
sandbox: Improve/augment memory allocation functions

Implement realloc() and free() for sandbox, by adding a header to each
block which contains the block size.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
arch/sandbox/cpu/os.c
include/os.h