summaryrefslogtreecommitdiffstats
path: root/api/obj.h
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2026-10-07 17:37:26 -0400
committerJon Santmyer <jon@jonsantmyer.com>2026-10-07 17:37:26 -0400
commit434ddcd907832b1febc7d70e4faa52109c7eb3bd (patch)
tree00c1ade91f9806d831f10e6006732b294e73f613 /api/obj.h
parent8d48bbd9746228b63bafa5f92b621998d7d8f3d3 (diff)
downloadjove-kernel-434ddcd907832b1febc7d70e4faa52109c7eb3bd.tar.gz
jove-kernel-434ddcd907832b1febc7d70e4faa52109c7eb3bd.tar.bz2
jove-kernel-434ddcd907832b1febc7d70e4faa52109c7eb3bd.zip
add memory region object for better memory managment
Diffstat (limited to 'api/obj.h')
-rw-r--r--api/obj.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/obj.h b/api/obj.h
index 6e9ddc6..29238c1 100644
--- a/api/obj.h
+++ b/api/obj.h
@@ -3,6 +3,8 @@
#include <stdint.h>
+typedef unsigned char objtype_t;
+
enum
{
JOVE_OBJ_NONE = 0,
@@ -10,6 +12,7 @@ enum
JOVE_OBJ_OBJDIR,
JOVE_OBJ_PAGEDIR,
JOVE_OBJ_PROCESSOR,
+ JOVE_OBJ_REGION,
JOVE_OBJ_SHMEMORY,
JOVE_OBJ_INT_HANDLE,
JOVE_OBJ_PCB,