]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[linux] Make malloc and linux_umalloc valgrindable
authorPiotr Jaroszyński <p.jaroszynski@gmail.com>
Thu, 1 Jul 2010 01:47:52 +0000 (03:47 +0200)
committerMichael Brown <mcb30@ipxe.org>
Sun, 27 Mar 2011 20:03:05 +0000 (21:03 +0100)
commitb604e8a388702df3cd4d3d64cf42dfc361b235c0
treed3e581fc9462b3658fb1a2d354794108e85a3086
parent3c1bdfd5d905eb5e916d588d59494d53ea968eb0
[linux] Make malloc and linux_umalloc valgrindable

Make the allocators used by malloc and linux_umalloc valgrindable.
Include valgrind headers in the codebase to avoid a build dependency
on valgrind.

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/scripts/linux.lds
src/arch/x86/Makefile
src/arch/x86/Makefile.linux
src/arch/x86/include/valgrind/memcheck.h [new file with mode: 0644]
src/arch/x86/include/valgrind/valgrind.h [new file with mode: 0644]
src/arch/x86_64/scripts/linux.lds
src/core/malloc.c
src/include/ipxe/malloc.h
src/interface/linux/linux_umalloc.c