1 #ifndef _IPXE_UMALLOC_H 2 #define _IPXE_UMALLOC_H 25 #define PROVIDE_UMALLOC( _subsys, _api_func, _func ) \ 26 PROVIDE_SINGLE_API ( UMALLOC_PREFIX_ ## _subsys, _api_func, _func ) 46 void *
urealloc (
void *ptr,
size_t new_size );
static __always_inline void ufree(void *ptr)
Free external memory.
Dummy architecture-specific user memory allocation API implementations.
uint16_t size
Buffer size.
User memory allocation API configuration.
Dynamic memory allocation.
iPXE user memory allocation API for Linux
#define __always_inline
Declare a function to be always inline.
iPXE user memory allocation API for EFI
static __always_inline void * umalloc(size_t size)
Allocate external memory.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void * urealloc(void *ptr, size_t new_size)
Reallocate external memory.
#define NULL
NULL pointer (VOID *)