From 704879ab7f080ce60bcffda02e3dda6330a4f1fd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 20 Oct 2024 07:07:08 +0000 Subject: NeFS: Officialize minimum disk size into the specs. HPFS: Start implementing it. UPS: Check PTime, and decrementing it when it isn't our time yet, also added new Subsystem entries. FSKit: Better documentation and provide 256U instead of only 256. EBS: Fixed HPFS magic number, which wasn't correctly bound to 8 bytes. BUILD: Fixed blob.json for epm.asm --- dev/hpfs/src/hpfs_main.cxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'dev/hpfs/src') 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 -#include 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; -- cgit v1.2.3