]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[umalloc] Remove userptr_t from user memory allocations
authorMichael Brown <mcb30@ipxe.org>
Wed, 23 Apr 2025 11:47:53 +0000 (12:47 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 23 Apr 2025 13:43:04 +0000 (14:43 +0100)
commit839540cb95a310ebf96d6302afecc3ac97ccf746
tree67c13ca2d9a48e3d63b5e739492646ee69c9e6cb
parent0bf0f8716a3c7f85455707d8c2d727d130ee1024
[umalloc] Remove userptr_t from user memory allocations

Use standard void pointers for umalloc(), urealloc(), and ufree(),
with the "u" prefix retained to indicate that these allocations are
made from external ("user") memory rather than from the internal heap.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
13 files changed:
src/arch/riscv/interface/sbi/sbi_umalloc.c
src/arch/x86/interface/pcbios/memtop_umalloc.c
src/core/dma.c
src/core/malloc.c
src/core/xferbuf.c
src/include/ipxe/dma.h
src/include/ipxe/malloc.h
src/include/ipxe/umalloc.h
src/include/ipxe/xferbuf.h
src/interface/efi/efi_pci.c
src/interface/efi/efi_umalloc.c
src/interface/linux/linux_umalloc.c
src/tests/umalloc_test.c