summaryrefslogtreecommitdiffhomepage
path: root/dev/hpfs/src
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-24 06:57:42 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-24 06:58:12 +0200
commit4b4fe020a328e991ffd15ae475ad7a5d38f097a5 (patch)
tree990a0f03c13bb0878c00e8ec1d6f9c259ecb64a0 /dev/hpfs/src
parent107b2b9cad2b2502c3eebc0a77013edde2551257 (diff)
IMP: Working on Paging API...
FIX: Fixed the path of filesystem's ESP. Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
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;
}