diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 08:01:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-05 08:01:06 +0100 |
| commit | e03903b98aa0b4d2dc3ed4637863124f28c4e1fe (patch) | |
| tree | 26a970e7ec1121ff54e9091b6e7670fb7841e53b /Private/FSKit | |
| parent | eddb029b924d8ddf930667071878b4553c193492 (diff) | |
Meta: cleanup and fix assembly routines.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/FSKit')
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index d0c43f02..784ea158 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -13,8 +13,6 @@ #include <KernelKit/DriveManager.hpp> #include <NewKit/Defines.hpp> -#include "KernelKit/FileManager.hpp" - /** @brief NewFS or HCFS HCore FileSystem. @@ -24,8 +22,8 @@ #define kInvalidCatalog -1 #define kNameLen 256 -#define kNewFSIdentLen 4 -#define kNewFSIdent "HCFS" +#define kNewFSIdentLen 6 +#define kNewFSIdent " HCFS" #define kPadLen 16 #define kNewFSVersion 1 @@ -173,20 +171,22 @@ class NewFSImplementation { virtual NewFork* ForkFrom(NewCatalog& catalog, const Int64& id) = 0; - virtual NewCatalog* RootCatalog(void) = 0; - virtual NewCatalog* NextCatalog(NewCatalog& cur) = 0; - virtual NewCatalog* PrevCatalog(NewCatalog& cur) = 0; + virtual NewCatalog* RootCatalog() = 0; + virtual NewCatalog* NextCatalog(_Input _Output NewCatalog& cur) = 0; + virtual NewCatalog* PrevCatalog(_Input _Output NewCatalog& cur) = 0; - virtual NewCatalog* GetCatalog(const char* name) = 0; + virtual NewCatalog* GetCatalog(_Input const char* name) = 0; - virtual NewCatalog* CreateCatalog(const char* name, const Int32& flags, - const Int32& kind) = 0; - virtual NewCatalog* CreateCatalog(const char* name) = 0; + virtual NewCatalog* CreateCatalog(_Input const char* name, + _Input const Int32& flags, + _Input const Int32& kind) = 0; + virtual NewCatalog* CreateCatalog(_Input const char* name) = 0; - virtual bool WriteCatalog(NewCatalog& catalog, voidPtr data) = 0; - virtual bool RemoveCatalog(NewCatalog& catalog) = 0; + virtual bool WriteCatalog(_Input _Output NewCatalog& catalog, + voidPtr data) = 0; + virtual bool RemoveCatalog(_Input NewCatalog& catalog) = 0; - virtual bool Format(DriveTraits& drive) = 0; + virtual bool Format(_Input _Output DriveTraits& drive) = 0; }; /// |
