diff options
| -rw-r--r-- | Private/ArchKit/compile_flags.txt | 1 | ||||
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 28 | ||||
| -rw-r--r-- | Private/HALKit/AMD64/HalInstallTIB.asm | 2 | ||||
| -rw-r--r-- | Private/HALKit/AMD64/HalRoutines.s | 4 | ||||
| -rw-r--r-- | Private/Source/compile_flags.txt | 3 | ||||
| -rw-r--r-- | Private/compile_flags.txt | 1 | ||||
| -rw-r--r-- | Public/Kits/DDKit/.gitkeep | 0 | ||||
| -rw-r--r-- | Public/Kits/DDKit/README.TXT | 3 |
8 files changed, 21 insertions, 21 deletions
diff --git a/Private/ArchKit/compile_flags.txt b/Private/ArchKit/compile_flags.txt index a37ae6bf..03f62eac 100644 --- a/Private/ArchKit/compile_flags.txt +++ b/Private/ArchKit/compile_flags.txt @@ -3,3 +3,4 @@ -std=c++20 -I./ -I../ +-I$(HOME)/ diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index d0c43f02..784ea158 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -13,8 +13,6 @@ #include <KernelKit/DriveManager.hpp> #include <NewKit/Defines.hpp> -#include "KernelKit/FileManager.hpp" - /** @brief NewFS or HCFS HCore FileSystem. @@ -24,8 +22,8 @@ #define kInvalidCatalog -1 #define kNameLen 256 -#define kNewFSIdentLen 4 -#define kNewFSIdent "HCFS" +#define kNewFSIdentLen 6 +#define kNewFSIdent " HCFS" #define kPadLen 16 #define kNewFSVersion 1 @@ -173,20 +171,22 @@ class NewFSImplementation { virtual NewFork* ForkFrom(NewCatalog& catalog, const Int64& id) = 0; - virtual NewCatalog* RootCatalog(void) = 0; - virtual NewCatalog* NextCatalog(NewCatalog& cur) = 0; - virtual NewCatalog* PrevCatalog(NewCatalog& cur) = 0; + virtual NewCatalog* RootCatalog() = 0; + virtual NewCatalog* NextCatalog(_Input _Output NewCatalog& cur) = 0; + virtual NewCatalog* PrevCatalog(_Input _Output NewCatalog& cur) = 0; - virtual NewCatalog* GetCatalog(const char* name) = 0; + virtual NewCatalog* GetCatalog(_Input const char* name) = 0; - virtual NewCatalog* CreateCatalog(const char* name, const Int32& flags, - const Int32& kind) = 0; - virtual NewCatalog* CreateCatalog(const char* name) = 0; + virtual NewCatalog* CreateCatalog(_Input const char* name, + _Input const Int32& flags, + _Input const Int32& kind) = 0; + virtual NewCatalog* CreateCatalog(_Input const char* name) = 0; - virtual bool WriteCatalog(NewCatalog& catalog, voidPtr data) = 0; - virtual bool RemoveCatalog(NewCatalog& catalog) = 0; + virtual bool WriteCatalog(_Input _Output NewCatalog& catalog, + voidPtr data) = 0; + virtual bool RemoveCatalog(_Input NewCatalog& catalog) = 0; - virtual bool Format(DriveTraits& drive) = 0; + virtual bool Format(_Input _Output DriveTraits& drive) = 0; }; /// diff --git a/Private/HALKit/AMD64/HalInstallTIB.asm b/Private/HALKit/AMD64/HalInstallTIB.asm index 58f4801b..260b496f 100644 --- a/Private/HALKit/AMD64/HalInstallTIB.asm +++ b/Private/HALKit/AMD64/HalInstallTIB.asm @@ -12,7 +12,7 @@ [global rt_install_tib] rt_install_tib: - mov rsi, gs + mov rcx, gs ret ;; //////////////////////////////////////////////////// ;; diff --git a/Private/HALKit/AMD64/HalRoutines.s b/Private/HALKit/AMD64/HalRoutines.s index 7965c8a8..3e70a507 100644 --- a/Private/HALKit/AMD64/HalRoutines.s +++ b/Private/HALKit/AMD64/HalRoutines.s @@ -5,11 +5,11 @@ .section .text rt_load_gdt: - lgdt (%rdi) + lgdt (%rcx) ret rt_load_idt: - lidt (%rdi) + lidt (%rcx) sti ret diff --git a/Private/Source/compile_flags.txt b/Private/Source/compile_flags.txt index 6b26618c..1b0ad789 100644 --- a/Private/Source/compile_flags.txt +++ b/Private/Source/compile_flags.txt @@ -1,4 +1,5 @@ -nostdlib -ffreestanding -std=c++20 --I../
\ No newline at end of file +-I../ +-I$(HOME)/ diff --git a/Private/compile_flags.txt b/Private/compile_flags.txt index bb35b987..12b56e37 100644 --- a/Private/compile_flags.txt +++ b/Private/compile_flags.txt @@ -2,3 +2,4 @@ -ffreestanding -std=c++20 -I./ +-I$(HOME)/ diff --git a/Public/Kits/DDKit/.gitkeep b/Public/Kits/DDKit/.gitkeep deleted file mode 100644 index e69de29b..00000000 --- a/Public/Kits/DDKit/.gitkeep +++ /dev/null diff --git a/Public/Kits/DDKit/README.TXT b/Public/Kits/DDKit/README.TXT deleted file mode 100644 index fec20a60..00000000 --- a/Public/Kits/DDKit/README.TXT +++ /dev/null @@ -1,3 +0,0 @@ -Device Driver Kit - -A Common framework for Device driver development. |
