diff options
Diffstat (limited to 'src/arch/riscv/include/ipxe/sbi_umalloc.h')
-rw-r--r-- | src/arch/riscv/include/ipxe/sbi_umalloc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/arch/riscv/include/ipxe/sbi_umalloc.h b/src/arch/riscv/include/ipxe/sbi_umalloc.h new file mode 100644 index 000000000..5763239fb --- /dev/null +++ b/src/arch/riscv/include/ipxe/sbi_umalloc.h @@ -0,0 +1,18 @@ +#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 */ |