stos: ob: Add object cache groundwork

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-25 17:50:43 +00:00
parent 70f58b193f
commit bc11f9b58f
5 changed files with 155 additions and 1 deletions
+3
View File
@@ -7,6 +7,7 @@
*/
#include <ob/object.h>
#include <ob/cache.h>
#include <ex/trace.h>
#include <ke/knot.h>
@@ -15,12 +16,14 @@
/* Globals */
static ST_OBJECT *RootDirectory;
OBJECT_CACHE gObCache;
VOID
ObInitManager(VOID)
{
ST_STATUS Status;
ObInitCache(&gObCache);
Status = ObCreateDirectory(
"/",
&RootDirectory