]> xenbits.xensource.com Git - osstest/seabios.git/commit
malloc: Introduce common helper alloc_new_detail()
authorKevin O'Connor <kevin@koconnor.net>
Tue, 29 Sep 2015 02:20:27 +0000 (22:20 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 15 Oct 2015 14:52:13 +0000 (10:52 -0400)
commit7af8d120fba60669843726fed9b470e4ea6ac05e
tree95b7c2f5d70cd78df6b5aad3b9a5456c20544bfa
parent41acaa8274b3bdf6ce91dc98dfb8405fc08840ed
malloc: Introduce common helper alloc_new_detail()

Introduce helper for finding temp space to hold an "allocation detail
struct" and use it in both alloc_add() and _malloc().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/list.h
src/malloc.c