summaryrefslogtreecommitdiff
path: root/sys/include/vm/dynalloc.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-10 17:19:32 -0400
committerIan Moffett <ian@osmora.org>2024-07-10 17:19:32 -0400
commite4c6ae42b3cf769db9525a3fa4d0cfb2db864bbf (patch)
treec661037aeb6a481583a373cf12d80e32acd32e37 /sys/include/vm/dynalloc.h
parent7a915a81d23263df634a6ae626e0bc2f6f4b38b5 (diff)
kernel: vm: Add dynalloc_memalign()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/vm/dynalloc.h')
-rw-r--r--sys/include/vm/dynalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/vm/dynalloc.h b/sys/include/vm/dynalloc.h
index 11d8f31..071ee3a 100644
--- a/sys/include/vm/dynalloc.h
+++ b/sys/include/vm/dynalloc.h
@@ -33,6 +33,8 @@
#include <sys/types.h>
void *dynalloc(size_t sz);
+void *dynalloc_memalign(size_t sz, size_t align);
+
void *dynrealloc(void *old_ptr, size_t newsize);
void dynfree(void *ptr);