From 8dd0c4f27aae02dd60f029db4cf03f9902cba26f Mon Sep 17 00:00:00 2001 From: Linnnus Date: Tue, 8 Apr 2025 01:07:22 +0000 Subject: feat: Initial commit At this point we have some allocation routines but no work on the actual language has been done. --- src/core/page_allocator.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/core/page_allocator.h (limited to 'src/core/page_allocator.h') diff --git a/src/core/page_allocator.h b/src/core/page_allocator.h new file mode 100644 index 0000000..506cd8f --- /dev/null +++ b/src/core/page_allocator.h @@ -0,0 +1,11 @@ +#ifndef SAND_PAGE_ALLOCATOR_H +#define SAND_PAGE_ALLOCATOR_H + +// This module defines an allocator (i.e. an implementation of `SandAllocator`) +// which allocates virtual memory pages. + +#include "allocator.h" + +SandAllocator *sand_get_page_allocator(); + +#endif -- cgit v1.2.3