summaryrefslogtreecommitdiffhomepage
path: root/dev/hpfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'dev/hpfs/src')
-rw-r--r--dev/hpfs/src/hpfs_main.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev/hpfs/src/hpfs_main.cxx b/dev/hpfs/src/hpfs_main.cxx
index eaa64dc5..187fb3ce 100644
--- a/dev/hpfs/src/hpfs_main.cxx
+++ b/dev/hpfs/src/hpfs_main.cxx
@@ -10,11 +10,15 @@
#include <hpfs/hpfs_specs.hxx>
#include <ddk/KernelStd.h>
+static DDK_OBJECT_MANIFEST* cIFSObject = nullptr;
+
/** @brief HPFS IFS main. */
-HPFS_INT32 ModuleMain(HPFS_VOID)
+int32_t ModuleMain(void)
{
auto ifs_handle = KernelGetObject(0, "IFS_OBJECT");
// TODO: Register this IFS with necessary I/O functions...
+ cIFSObject = ifs_handle;
+
return 0;
}