]> xenbits.xensource.com Git - seabios.git/commit
Remove the pmm handle argument from _malloc().
authorKevin O'Connor <kevin@koconnor.net>
Sat, 14 Dec 2013 18:14:02 +0000 (13:14 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 27 Dec 2013 17:40:02 +0000 (12:40 -0500)
commit743c1575390188fd628ecd0333bb679e8ecc0bec
tree2d26092e6d034d39670c10770d3a95ade70ad6bd
parent95b3d3286ff65d44f3d0240c6d7be4bec7671375
Remove the pmm handle argument from _malloc().

The PMM handle argument will almost always be 0xffffffff.  Use
separate code for the few rare cases where it may not be the default
value.  Gcc produces better code if _malloc() only requires three
parameters.

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