diff options
author | Aaron Durbin <adurbin@chromium.org> | 2015-01-22 08:53:02 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-19 23:23:41 +0100 |
commit | c88cca1c38bb2752a7284590ec70a55caf3e490d (patch) | |
tree | da76a520b4440e382e6ff0f62e622613c80702a5 /payloads/libpayload/libc/string.c | |
parent | e5be1dc336d460f4bc4781b5e8ee5eb0b7e04a2e (diff) |
libpayload: add xmemalign()
Similarly to xzalloc() and xmalloc() provide an xmemalign() function
to do the approriate assertions on allocation failure.
BUG=None
BRANCH=None
TEST=Built and booted using xmemalign().
Change-Id: I59579d9ee973af3bb34037b7df5b1024b60e348d
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 3001822656024dbfc34d6b849a0245274b8c0f46
Original-Change-Id: Ie307d4c9c1882bba25745afe38455f2682303e37
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/242455
Original-Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/8728
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/libc/string.c')
0 files changed, 0 insertions, 0 deletions