diff options
| -rw-r--r-- | Drivers/README.TXT | 15 | ||||
| -rw-r--r-- | Internal/Tools/.gitkeep | 0 | ||||
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 8 | ||||
| -rw-r--r-- | Private/NewBoot/BootKit/BootKit.hxx | 2 | ||||
| -rw-r--r-- | Tools/.gitkeep (renamed from Internal/.gitkeep) | 0 | ||||
| -rw-r--r-- | Tools/PartTool.cxx (renamed from Internal/Tools/NewFSPartTool.cxx) | 3 |
6 files changed, 21 insertions, 7 deletions
diff --git a/Drivers/README.TXT b/Drivers/README.TXT new file mode 100644 index 00000000..d26f409b --- /dev/null +++ b/Drivers/README.TXT @@ -0,0 +1,15 @@ +========================== +Basic Device Drivers (BDD) +========================== + +1 - Build them +2 - Place them inside Private/Root +3 - And continue your build. + + +==================== +What are these? +==================== + +These are HCore device drivers. +Running in Ring-3. To let the driver restart in case of a crash. diff --git a/Internal/Tools/.gitkeep b/Internal/Tools/.gitkeep deleted file mode 100644 index e69de29b..00000000 --- a/Internal/Tools/.gitkeep +++ /dev/null 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; }; diff --git a/Internal/.gitkeep b/Tools/.gitkeep index e69de29b..e69de29b 100644 --- a/Internal/.gitkeep +++ b/Tools/.gitkeep diff --git a/Internal/Tools/NewFSPartTool.cxx b/Tools/PartTool.cxx index 41bdd392..df40ae3c 100644 --- a/Internal/Tools/NewFSPartTool.cxx +++ b/Tools/PartTool.cxx @@ -20,7 +20,8 @@ int main() { std::cout - << "NewFSPartTool: Make a NewFS partition image from a directory!\n" + << "PartTool: build a NewFS partition image from a directory!\n" << "Copyright Mahrouss Logic, all rights reserved. (INTERNAL TOOL)\n"; + return 0; } |
