summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/ArchKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-30 20:46:01 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-30 20:46:01 +0200
commit43bac17a2986ac2ea86e9d70c61268fa7e90ca4e (patch)
treed259814b8c388e87bb02860405ff668a92434c44 /dev/ZKA/ArchKit
parent8a4f0e988a901e4fce5d32e3d5f9dbdc5f309863 (diff)
Fixed many issues with the kernel, and refactored it.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/ArchKit')
-rw-r--r--dev/ZKA/ArchKit/ArchKit.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev/ZKA/ArchKit/ArchKit.hxx b/dev/ZKA/ArchKit/ArchKit.hxx
index f0f3a2ae..9659182c 100644
--- a/dev/ZKA/ArchKit/ArchKit.hxx
+++ b/dev/ZKA/ArchKit/ArchKit.hxx
@@ -91,6 +91,11 @@ struct HAL_SYSCALL_RECORD final
Kernel::Int64 fHash;
Kernel::Bool fHooked;
rt_syscall_proc fProc;
+
+ operator bool()
+ {
+ return fHooked;
+ }
};
inline Kernel::Array<HAL_SYSCALL_RECORD,