sim: HW_NALLOC: new alloc helper
authorMike Frysinger <vapier@gentoo.org>
Wed, 29 Dec 2010 02:51:40 +0000 (02:51 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 29 Dec 2010 02:51:40 +0000 (02:51 +0000)
commite71b81d85f8873267aa65486d34ef7c86b55821d
treeb4eb9ed5b879309301947a8e57e0cdb7040c35da
parente61ddca7faeabdba9543dd205e3f3c7e8a58020f
sim: HW_NALLOC: new alloc helper

We have malloc (uninitialized buffer), zalloc (zeroed buffer), and
nzalloc (zeroed array).  But we don't have a way to allocate an
uninitialized array.  Add a HW_NALLOC to fill this gap.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/hw-alloc.h