diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-06 09:57:32 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-03-02 15:53:37 -0500 |
commit | 14e46dfb176b4505e4bafa545d3facb9228d40a9 (patch) | |
tree | bac3b3bb1b32f58bccb80c6616bc7d57ca899d7d /arch/sandbox/cpu/start.c | |
parent | 869badca616113c7002d934f549bb80f948f9900 (diff) |
sandbox: Add os_realloc()
We provide os_malloc() and os_free() but not os_realloc(). Add this,
following the usual semantics. Also update os_malloc() to behave correctly
when passed a zero size.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'arch/sandbox/cpu/start.c')
0 files changed, 0 insertions, 0 deletions