From 4b4fe020a328e991ffd15ae475ad7a5d38f097a5 Mon Sep 17 00:00:00 2001 From: Amlal Date: Tue, 24 Sep 2024 06:57:42 +0200 Subject: IMP: Working on Paging API... FIX: Fixed the path of filesystem's ESP. Signed-off-by: Amlal --- dev/hpfs/src/hpfs_main.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev/hpfs/src') 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 #include +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; } -- cgit v1.2.3