summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/Defs.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-19 21:01:12 +0100
commitde413aa50bac1342e4ac8c7a66697ea3b551c2e4 (patch)
treeeef86262346e556f276727da3d8175ead9c6ff1d /Public/Kits/System.Core/Defs.hxx
parentaf7bb25934e8f6781cb7b34ef345ef9af723a2ff (diff)
Kernel(Secret): Major commit.
- Extensive cleanup of the code, and kernel improvements. - The System API has been reworked to be better designed. What is needed now: - AHCI disk driver. - HCFS/NewFS driver. - EPM layout implementation. - Separate bootloader and kernel.
Diffstat (limited to 'Public/Kits/System.Core/Defs.hxx')
-rw-r--r--Public/Kits/System.Core/Defs.hxx19
1 files changed, 18 insertions, 1 deletions
diff --git a/Public/Kits/System.Core/Defs.hxx b/Public/Kits/System.Core/Defs.hxx
index bcb3585c..9a17d571 100644
--- a/Public/Kits/System.Core/Defs.hxx
+++ b/Public/Kits/System.Core/Defs.hxx
@@ -108,4 +108,21 @@ enum HcProcessCall {
kProcessCallsCount = 7,
};
-#include <System.Core/HintBase.hxx>
+#include <System.Core/Hint.hxx>
+
+class Exception {
+ public:
+ explicit Exception() = default;
+ virtual ~Exception() = default;
+
+ public:
+ HCORE_COPY_DEFAULT(Exception);
+
+ public:
+ const char *Name();
+ const char *Reason();
+
+ private:
+ const char *mReason{
+ "System.Core: System Exception: Catastrophic failure!"};
+};