summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/ThreadAPI.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-18 20:01:38 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-18 20:01:38 +0100
commit98347089c7e4e2b306d25a0db77e00aa2ea50882 (patch)
treea0b3a1130bff9068055aea87f3e3b964dc9fce0a /Public/Kits/System.Core/ThreadAPI.hxx
parent4c714f2c24c5df78bae2f35c42c73107de4c8c71 (diff)
unstable, secret: Very important changes done to the system API, add
threading functions. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/ThreadAPI.hxx')
-rw-r--r--Public/Kits/System.Core/ThreadAPI.hxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/Public/Kits/System.Core/ThreadAPI.hxx b/Public/Kits/System.Core/ThreadAPI.hxx
deleted file mode 100644
index ec15a64c..00000000
--- a/Public/Kits/System.Core/ThreadAPI.hxx
+++ /dev/null
@@ -1,36 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-//
-// Created by Amlal on 1/27/24.
-//
-
-#ifndef __THREAD_API__
-#define __THREAD_API__
-
-#include <NewKit/Defines.hpp>
-
-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 Name[255]; // Module Name
- const UIntPtr StartAddress; // Start Address
- const UIntPtr StartHeap; // Allocation Heap
- const UIntPtr StartStack; // Stack Pointer.
- const Int32 Arch; // Architecture and/or platform.
-};
-
-enum {
- kPC_IA64,
- kPC_AMD64 = kPC_IA64,
- kPC_ARM,
- kMACS_64x0,
- kMACS_32x0,
-};
-} // namespace HCore
-
-#endif // __THREAD_API__