From 140ceeeb089f605e29592697239a28bb4db1a7e2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 May 2025 16:16:33 +0100 Subject: [riscv] Use generic external heap based on the system memory map Signed-off-by: Michael Brown --- src/arch/riscv/include/bits/umalloc.h | 14 -------------- src/arch/riscv/include/ipxe/sbi_umalloc.h | 18 ------------------ 2 files changed, 32 deletions(-) delete mode 100644 src/arch/riscv/include/bits/umalloc.h delete mode 100644 src/arch/riscv/include/ipxe/sbi_umalloc.h (limited to 'src/arch/riscv/include') diff --git a/src/arch/riscv/include/bits/umalloc.h b/src/arch/riscv/include/bits/umalloc.h deleted file mode 100644 index a7171ca2c..000000000 --- a/src/arch/riscv/include/bits/umalloc.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef _BITS_UMALLOC_H -#define _BITS_UMALLOC_H - -/** @file - * - * RISCV-specific user memory allocation API implementations - * - */ - -FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); - -#include - -#endif /* _BITS_UMALLOC_H */ diff --git a/src/arch/riscv/include/ipxe/sbi_umalloc.h b/src/arch/riscv/include/ipxe/sbi_umalloc.h deleted file mode 100644 index 5763239fb..000000000 --- a/src/arch/riscv/include/ipxe/sbi_umalloc.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _IPXE_SBI_UMALLOC_H -#define _IPXE_SBI_UMALLOC_H - -/** @file - * - * External memory allocation - * - */ - -FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); - -#ifdef UMALLOC_SBI -#define UMALLOC_PREFIX_sbi -#else -#define UMALLOC_PREFIX_sbi __sbi_ -#endif - -#endif /* _IPXE_SBI_UMALLOC_H */ -- cgit v1.2.3-55-g7522