diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Public | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Public')
| -rw-r--r-- | Public/SDK/SystemKit/FileAPI.hxx | 4 | ||||
| -rw-r--r-- | Public/SDK/SystemKit/HeapAPI.hxx | 6 | ||||
| -rw-r--r-- | Public/SDK/SystemKit/SystemKit.hxx | 2 | ||||
| -rw-r--r-- | Public/SDK/SystemKit/ThreadAPI.hxx | 14 | ||||
| -rw-r--r-- | Public/SDK/ZipKit/Defines.hpp | 2 | ||||
| -rw-r--r-- | Public/SDK/ZipKit/Zip.hpp | 2 | ||||
| -rw-r--r-- | Public/compile_flags.txt | 5 |
7 files changed, 20 insertions, 15 deletions
diff --git a/Public/SDK/SystemKit/FileAPI.hxx b/Public/SDK/SystemKit/FileAPI.hxx index 12b57a41..c55d26ff 100644 --- a/Public/SDK/SystemKit/FileAPI.hxx +++ b/Public/SDK/SystemKit/FileAPI.hxx @@ -10,10 +10,10 @@ #ifndef _SYSTEM_KIT_HCORE_FILE_HPP #define _SYSTEM_KIT_HCORE_FILE_HPP -#include <CompilerKit/Compiler.hpp> +#include <CompilerKit/CompilerKit.hpp> #include <NewKit/Defines.hpp> -using namespace hCore; +using namespace HCore; class HFile final { public: diff --git a/Public/SDK/SystemKit/HeapAPI.hxx b/Public/SDK/SystemKit/HeapAPI.hxx index aa082ca6..11d4c265 100644 --- a/Public/SDK/SystemKit/HeapAPI.hxx +++ b/Public/SDK/SystemKit/HeapAPI.hxx @@ -9,10 +9,10 @@ #pragma once -#include <CompilerKit/Compiler.hpp> +#include <CompilerKit/CompilerKit.hpp> #include <NewKit/Defines.hpp> -using namespace hCore; +using namespace HCore; class HMemoryException; @@ -58,7 +58,7 @@ class HMemoryException final { const char *Reason(); private: - const char *mReason{"Memory error!"}; + const char *mReason{"HeapAPI: Memory Exception!"}; private: friend HHeap; diff --git a/Public/SDK/SystemKit/SystemKit.hxx b/Public/SDK/SystemKit/SystemKit.hxx index 9e1443cc..eca53757 100644 --- a/Public/SDK/SystemKit/SystemKit.hxx +++ b/Public/SDK/SystemKit/SystemKit.hxx @@ -9,4 +9,4 @@ #include <SystemKit/HeapAPI.hxx> #include <SystemKit/ThreadAPI.hxx> -using namespace hCore; +using namespace HCore; diff --git a/Public/SDK/SystemKit/ThreadAPI.hxx b/Public/SDK/SystemKit/ThreadAPI.hxx index 24fc8507..a9490033 100644 --- a/Public/SDK/SystemKit/ThreadAPI.hxx +++ b/Public/SDK/SystemKit/ThreadAPI.hxx @@ -16,15 +16,15 @@ #include <NewKit/Defines.hpp> -namespace hCore { +namespace HCore { /// @brief Thread Information Block for Local Storage. /// Located in GS on AMD64, Virtual Address 0x10000 (64x0, 32x0, ARM64) struct ThreadInformationBlock final { - const Char TIB_NAME[255]; // Module Name - const UIntPtr TIB_START_CODE; // Start Address - const UIntPtr TIB_START_ALLOC; // Allocation Heap - const UIntPtr TIB_START_STACK; // Stack Pointer. - const Int32 TIB_ARCH; // Architecture and/or platform. + const Char NAME[255]; // Module Name + const UIntPtr START_ADDRESS; // Start Address + const UIntPtr START_ALLOC; // Allocation Heap + const UIntPtr START_STACK; // Stack Pointer. + const Int32 ARCH; // Architecture and/or platform. }; enum { @@ -34,6 +34,6 @@ enum { kMACS_64x0, kMACS_32x0, }; -} // namespace hCore +} // namespace HCore #endif // __THREAD_API__ diff --git a/Public/SDK/ZipKit/Defines.hpp b/Public/SDK/ZipKit/Defines.hpp index 053e3ad5..fc5e6068 100644 --- a/Public/SDK/ZipKit/Defines.hpp +++ b/Public/SDK/ZipKit/Defines.hpp @@ -12,6 +12,6 @@ #include <NewKit/Defines.hpp> #include <SystemKit/SystemKit.hxx> -using namespace hCore; +using namespace HCore; #define ZIPKIT_VERSION "1.0.1" diff --git a/Public/SDK/ZipKit/Zip.hpp b/Public/SDK/ZipKit/Zip.hpp index 91ecde51..f0337ffa 100644 --- a/Public/SDK/ZipKit/Zip.hpp +++ b/Public/SDK/ZipKit/Zip.hpp @@ -11,7 +11,7 @@ #define Z_SOLO 1 -#include <CompilerKit/Compiler.hpp> +#include <CompilerKit/CompilerKit.hpp> #include <ZipKit/Defines.hpp> #include <ZipKit/zlib.hpp> diff --git a/Public/compile_flags.txt b/Public/compile_flags.txt new file mode 100644 index 00000000..21296223 --- /dev/null +++ b/Public/compile_flags.txt @@ -0,0 +1,5 @@ +-nostdlib +-ffreestanding +-std=c++20 +-I./SDK/ +-I../Private |
