diff options
Diffstat (limited to 'Public/SDK/SystemKit/ThreadAPI.hxx')
| -rw-r--r-- | Public/SDK/SystemKit/ThreadAPI.hxx | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/Public/SDK/SystemKit/ThreadAPI.hxx b/Public/SDK/SystemKit/ThreadAPI.hxx index 8d948a35..24fc8507 100644 --- a/Public/SDK/SystemKit/ThreadAPI.hxx +++ b/Public/SDK/SystemKit/ThreadAPI.hxx @@ -16,27 +16,24 @@ #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. +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. }; -enum -{ - kPC_IA64, - kPC_AMD64 = kPC_IA64, - kPC_ARM, - kMACS_64x0, - kMACS_32x0, +enum { + kPC_IA64, + kPC_AMD64 = kPC_IA64, + kPC_ARM, + kMACS_64x0, + kMACS_32x0, }; -} // namespace hCore +} // namespace hCore -#endif // __THREAD_API__ +#endif // __THREAD_API__ |
