From 88e9b3b3a6060ab1035e0576519e18bb64edda09 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 13 Dec 2023 14:25:19 -0500 Subject: kernel: vm: Add support for dynalloc pool resize This commit creates a wrapper that allows resizing of a memory pool created by dynalloc() Signed-off-by: Ian Moffett --- sys/include/vm/dynalloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/vm/dynalloc.h b/sys/include/vm/dynalloc.h index 4a70f2c..8c51a55 100644 --- a/sys/include/vm/dynalloc.h +++ b/sys/include/vm/dynalloc.h @@ -33,6 +33,7 @@ #include void *dynalloc(size_t sz); +void *dynrealloc(void *old_ptr, size_t newsize); void dynfree(void *ptr); #endif /* !_VM_DYNALLOC_H_ */ -- cgit v1.2.3