diff options
Diffstat (limited to 'dev/hpfs/src')
| -rw-r--r-- | dev/hpfs/src/hpfs_main.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/dev/hpfs/src/hpfs_main.cxx b/dev/hpfs/src/hpfs_main.cxx index 1ab6c653..ce712f2c 100644 --- a/dev/hpfs/src/hpfs_main.cxx +++ b/dev/hpfs/src/hpfs_main.cxx @@ -8,15 +8,20 @@ ------------------------------------------- */ #include <hpfs/hpfs_specs.hxx> -#include <ddk/ddk.h> static DDK_OBJECT_MANIFEST* kIfsObject = nullptr; /** @brief HPFS IFS main module function. */ -int32_t ModuleMain(void) +DK_EXTERN int32_t ModuleMain(void) { auto ifs_handle = KernelGetObject(0, "IFS_OBJECT"); - // TODO: Register this IFS with necessary I/O functions... + + if (ifs_handle == nil) + { + return 1; + } + + /// TODO: Register this IFS with necessary I/O functions... kIfsObject = ifs_handle; |
