diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-29 09:05:36 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-29 09:05:36 +0100 |
| commit | b7f2a078b4284c3adc253f40bc54e733d27b6bd6 (patch) | |
| tree | 9eb5c6c0501278bcf1615ba59e7bb25a63bd4f1b /Private/FSKit | |
| parent | 375fa68692447f6806264fc0339d26b691e2a1bb (diff) | |
HCoreKrnl: Start work on AHCI support. to add HCFS,EPM,GPT support to
the kernel.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/FSKit')
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index 23353d91..0218f666 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -23,9 +23,9 @@ @brief HCore File System implementation. */ -#define kInvalidFork -1 -#define kInvalidCatalog -1 -#define kNameLen 256 +#define kNewFSInvalidFork -1 +#define kNewFSInvalidCatalog -1 +#define kNewFSNodeNameLen 256 #define kNewFSIdentLen 6 #define kNewFSIdent " HCFS" @@ -34,7 +34,8 @@ //! On EPM and GPT disks. #define kNewFSUUID "DD997393-9CCE-4288-A8D5-C0FDE3908DBE" -#define kNewFSVersion 1 +#define kNewFSVersionInteger 0x11 +#define kNewFSVerionString "1.1" typedef HCore::WideChar NewCharType; @@ -48,7 +49,7 @@ enum { struct PACKED NewBootBlock final { NewCharType Ident[kNewFSIdentLen]; - NewCharType Shell[kNameLen]; + NewCharType Shell[kNewFSNodeNameLen]; HCore::Int64 NumParts; HCore::Int64 FreeSectors; @@ -74,7 +75,7 @@ struct PACKED NewBootBlock final { #define kKindPartition 4 struct PACKED NewCatalog final { - NewCharType Name[kNameLen]; + NewCharType Name[kNewFSNodeNameLen]; HCore::Int32 Flags; HCore::Int32 Kind; |
