summaryrefslogtreecommitdiff
path: root/src/core/page_allocator.h
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-04-08 01:07:22 +0000
committerLinnnus <[email protected]>2025-04-08 01:07:34 +0000
commit8dd0c4f27aae02dd60f029db4cf03f9902cba26f (patch)
tree829c4bc0917f6615c55ae61d49932179c038c1e5 /src/core/page_allocator.h
feat: Initial commit
At this point we have some allocation routines but no work on the actual language has been done.
Diffstat (limited to 'src/core/page_allocator.h')
-rw-r--r--src/core/page_allocator.h11
1 files changed, 11 insertions, 0 deletions
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