diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-06 09:38:00 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-06 09:38:00 +0200 |
| commit | 507b3a76de36e41bdfd1c14d94a397990b26a423 (patch) | |
| tree | e087051b51d36828fbca98d9e9e74cb1381a4def /dev/ZKA/Sources/ThreadLocalStorage.cxx | |
| parent | 98f504c442b1a0f769e2f20e4fb251813dd5dd67 (diff) | |
[ IMP ] A first set of software patches regarding the OS kernel and it's components.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZKA/Sources/ThreadLocalStorage.cxx')
| -rw-r--r-- | dev/ZKA/Sources/ThreadLocalStorage.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev/ZKA/Sources/ThreadLocalStorage.cxx b/dev/ZKA/Sources/ThreadLocalStorage.cxx index 35f2dbcd..825761de 100644 --- a/dev/ZKA/Sources/ThreadLocalStorage.cxx +++ b/dev/ZKA/Sources/ThreadLocalStorage.cxx @@ -21,42 +21,6 @@ using namespace Kernel; -namespace Kernel::Detail -{ - /// \brief UserProcess thread information header. - struct THREAD_HEADER_BLOCK final - { - STATIC constexpr SizeT cMaxLen = 256; - - Char fName[cMaxLen] = {"THREAD #0 (PROCESS 0)"}; - ProcessStatusKind fThreadStatus; - Int64 fThreadID; - UIntPtr fCode{0}; - UIntPtr fStack{0}; - UIntPtr fData{0}; - - Void Exit() noexcept - { - this->fThreadStatus = ProcessStatusKind::kKilled; - } - - UIntPtr GetStack() noexcept - { - return fStack; - } - - UIntPtr GetData() noexcept - { - return fData; - } - - UIntPtr GetPC() noexcept - { - return fCode; - } - }; -} // namespace Detail - /** * @brief Checks for cookie inside the TIB. * @param tib the TIB to check. |
