summaryrefslogtreecommitdiffstats
path: root/hal/memory.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-09-04 11:31:40 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-09-04 11:31:40 -0400
commit8251da342161767fe203627223ccd4a7026701c6 (patch)
treeaf2db0f11b0ea8ad35f88663a855bab39a80f679 /hal/memory.h
downloadjove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.gz
jove-kernel-8251da342161767fe203627223ccd4a7026701c6.tar.bz2
jove-kernel-8251da342161767fe203627223ccd4a7026701c6.zip
initial commit. working on tasking
Diffstat (limited to 'hal/memory.h')
-rw-r--r--hal/memory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/hal/memory.h b/hal/memory.h
new file mode 100644
index 0000000..4d866d0
--- /dev/null
+++ b/hal/memory.h
@@ -0,0 +1,16 @@
+#ifndef _JOVE_HAL_MEMORY_H
+#define _JOVE_HAL_MEMORY_H 1
+
+#include <stddef.h>
+#include <stdint.h>
+
+typedef struct jove_obj_untyped
+{
+ size_t limit;
+} jove_untyped_t;
+
+void mem_setup_untyped(void);
+
+void *phys_tovirt(uintptr_t phys);
+
+#endif