summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/FileManager.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-29 10:12:36 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-29 10:12:36 +0200
commit461fe537aa1f9533bfa5c2504cb84843b9eac501 (patch)
tree271395a293f788775c09abffdc0861dbf24af4ca /Private/KernelKit/FileManager.hpp
parent346558208d39a036effe3a4ec232fa5df5a3c8e7 (diff)
MHR-18: Filesystem fixes and improvements see ticket.
- Implement CreateCatalog for file creation, an implementation of RemoveCatalog is also needed. - Boot Kit only takes a single root file now. Must be ending with '/'. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit/FileManager.hpp')
-rw-r--r--Private/KernelKit/FileManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/KernelKit/FileManager.hpp b/Private/KernelKit/FileManager.hpp
index 603ee06b..ab65bbe1 100644
--- a/Private/KernelKit/FileManager.hpp
+++ b/Private/KernelKit/FileManager.hpp
@@ -86,7 +86,7 @@ class FilesystemManagerInterface {
public:
virtual Void Write(_Input NodePtr node, _Input VoidPtr data,
- _Input Int32 flags) = 0;
+ _Input Int32 flags, _Input SizeT size) = 0;
virtual _Output VoidPtr Read(_Input NodePtr node, _Input Int32 flags,
_Input SizeT sz) = 0;
@@ -122,7 +122,7 @@ class NewFilesystemManager final : public FilesystemManagerInterface {
public:
bool Remove(const char *path) override;
NodePtr Open(const char *path, const char *r) override;
- Void Write(NodePtr node, VoidPtr data, Int32 flags) override;
+ Void Write(NodePtr node, VoidPtr data, Int32 flags, SizeT sz) override;
VoidPtr Read(NodePtr node, Int32 flags, SizeT sz) override;
bool Seek(NodePtr node, SizeT off);
SizeT Tell(NodePtr node) override;