diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 10:09:27 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 10:09:27 +0100 |
| commit | c8b5a4cc2981c4fd8987b7f048380a13d80981fd (patch) | |
| tree | e2beba4453cfcea814fb6ddaa7b8293d2e2db356 /Private | |
| parent | 28939d40c856aed0b56fe5a4d1d68a906099d745 (diff) | |
See below.
- Pack NewFS data structures.
- Add README.TXT in /Drivers/
- Move /Internals/Tools in just /Tools.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private')
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 8 | ||||
| -rw-r--r-- | Private/NewBoot/BootKit/BootKit.hxx | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index 022100cb..75f4e554 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -30,7 +30,7 @@ enum { kUnknowmn = 0xFF, // unknown device or unsupported (floppy) }; -struct NewBootBlock final { +struct PACKED NewBootBlock final { HCore::Char Ident[kIdentLen]; HCore::Char Shell[kNameLen]; @@ -56,7 +56,7 @@ struct NewBootBlock final { #define kKindDirectory 2 #define kKindSymlink 3 -struct NewCatalog final { +struct PACKED NewCatalog final { HCore::Char Name[kNameLen]; HCore::Int32 Flags; @@ -66,7 +66,7 @@ struct NewCatalog final { HCore::Lba LastFork; }; -struct NewFork { +struct PACKED NewFork final { HCore::Int32 Flags; HCore::Int32 Kind; @@ -90,7 +90,7 @@ struct NewFork { #define kConfigLen 64 #define kPartLen 32 -struct NewPartitionBlock final { +struct PACKED NewPartitionBlock final { HCore::Char PartitionName[kPartLen]; HCore::Char JsonPath[kConfigLen]; diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx index 90ef5156..70519aba 100644 --- a/Private/NewBoot/BootKit/BootKit.hxx +++ b/Private/NewBoot/BootKit/BootKit.hxx @@ -81,8 +81,6 @@ class BFileReader final { private: Int32 mErrorCode{kOperationOkay}; CharacterType mPath[255]; - - private: BATADevice mDevice; }; |
