summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-18 12:35:19 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-18 12:39:24 +0100
commit4c714f2c24c5df78bae2f35c42c73107de4c8c71 (patch)
treeb36d2498b8387909dac45c98097b8169636ad25a /Private/FSKit
parenta4bfc396a78ddd553de519ab927d8479d0c3c45d (diff)
unstable, unrelated: See below.
- :boom: Breaking changes in System.Core.dll - Framebuffer, moved operator bool into c++ source file. - Remove zlib in favor of our own Zip API. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/FSKit')
-rw-r--r--Private/FSKit/HCFS.hxx5
-rw-r--r--Private/FSKit/IndexableProperty.hxx2
-rw-r--r--Private/FSKit/NewFS.hxx11
3 files changed, 14 insertions, 4 deletions
diff --git a/Private/FSKit/HCFS.hxx b/Private/FSKit/HCFS.hxx
index 90285bd9..2d7e5627 100644
--- a/Private/FSKit/HCFS.hxx
+++ b/Private/FSKit/HCFS.hxx
@@ -8,6 +8,11 @@
#pragma once
+/**
+ @brief HCore File System.
+ @author Amlal EL Mahrouss
+*/
+
#include <NewKit/Defines.hpp>
#include <FirmwareKit/EPM.hxx>
diff --git a/Private/FSKit/IndexableProperty.hxx b/Private/FSKit/IndexableProperty.hxx
index 36416c82..86bacfdf 100644
--- a/Private/FSKit/IndexableProperty.hxx
+++ b/Private/FSKit/IndexableProperty.hxx
@@ -8,7 +8,7 @@
#include <CFKit/Property.hpp>
#include <CompilerKit/CompilerKit.hxx>
-#include <KernelKit/DriveManager.hpp>
+#include <KernelKit/DriveManager.hxx>
namespace HCore {
namespace Indexer {
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx
index 8632e650..b82bde9e 100644
--- a/Private/FSKit/NewFS.hxx
+++ b/Private/FSKit/NewFS.hxx
@@ -17,11 +17,12 @@
#include <CompilerKit/CompilerKit.hxx>
#include <HintKit/CompilerHint.hxx>
-#include <KernelKit/DriveManager.hpp>
+#include <KernelKit/DriveManager.hxx>
#include <NewKit/Defines.hpp>
/**
- @brief HCore File System implementation.
+ @brief New File System.
+ @author Amlal EL Mahrouss
*/
#define kNewFSInvalidFork -1
@@ -111,6 +112,7 @@ struct PACKED NewBootBlock final {
NewCharType Pad[kNewFSPadLen];
};
+/// @brief File catalog type.
struct PACKED NewCatalog final {
NewCharType Name[kNewFSNodeNameLen];
@@ -124,6 +126,7 @@ struct PACKED NewCatalog final {
HCore::Lba PrevSibling;
};
+/// @brief File fork type.
struct PACKED NewFork final {
NewCharType Name[kNewFSNodeNameLen];
@@ -141,6 +144,7 @@ struct PACKED NewFork final {
HCore::Lba PreviousSibling;
};
+/// @brief Partition block type
struct PACKED NewPartitionBlock final {
NewCharType Ident[kNewFSIdentLen];
NewCharType PartitionName[kPartLen];
@@ -198,12 +202,13 @@ class NewFSParser {
virtual bool WriteCatalog(_Input _Output NewCatalog& catalog,
voidPtr data) = 0;
+
virtual bool RemoveCatalog(_Input _Output NewCatalog& catalog) = 0;
/// @brief Make a EPM+NewFS drive out of the disk.
/// @param drive The drive to write on.
/// @return If it was sucessful, see DbgLastError().
- virtual bool Format(_Input _Output DriveTraits& drive) = 0;
+ virtual bool Format(_Input _Output DriveTrait& drive) = 0;
};
///