Squash commits for public release
This commit is contained in:
17
boot/libboot/mem/alloc.h
Normal file
17
boot/libboot/mem/alloc.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _BOOT_LIBBOOT_MEM_MALLOC_H
|
||||
#define _BOOT_LIBBOOT_MEM_MALLOC_H
|
||||
|
||||
#include <libboot/mem/mem.h>
|
||||
|
||||
int malloc_init(void* addr, size_t size);
|
||||
void* malloc(size_t size);
|
||||
void* malloc_aligned(size_t size, size_t alignment);
|
||||
void free(void* ptr);
|
||||
|
||||
int palloc_init(size_t size, size_t alignment);
|
||||
void* palloc(size_t size);
|
||||
void* palloc_aligned(size_t size, size_t alignment);
|
||||
size_t palloc_used_size();
|
||||
size_t palloc_total_size();
|
||||
|
||||
#endif // _BOOT_LIBBOOT_MEM_MALLOC_H
|
||||
Reference in New Issue
Block a user