stos: ob: Add object cache groundwork
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user