summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/KernelKit/ThreadLocalStorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Kernel/KernelKit/ThreadLocalStorage.h')
-rw-r--r--dev/Kernel/KernelKit/ThreadLocalStorage.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev/Kernel/KernelKit/ThreadLocalStorage.h b/dev/Kernel/KernelKit/ThreadLocalStorage.h
index 5f80d7c7..573b40b8 100644
--- a/dev/Kernel/KernelKit/ThreadLocalStorage.h
+++ b/dev/Kernel/KernelKit/ThreadLocalStorage.h
@@ -28,12 +28,12 @@ struct THREAD_INFORMATION_BLOCK;
/// Located in GS on AMD64, other architectures have their own stuff. (64x0, 32x0, ARM64)
struct PACKED THREAD_INFORMATION_BLOCK final
{
- Kernel::Char Cookie[kTLSCookieLen]{0}; //! Thread magic number.
- Kernel::VoidPtr Record{nullptr}; //! Thread information record.
+ NeOS::Char Cookie[kTLSCookieLen]{0}; //! Thread magic number.
+ NeOS::VoidPtr Record{nullptr}; //! Thread information record.
};
///! @brief Cookie Sanity check.
-Kernel::Boolean tls_check_tib(THREAD_INFORMATION_BLOCK* the_tib);
+NeOS::Boolean tls_check_tib(THREAD_INFORMATION_BLOCK* the_tib);
///! @brief new ptr syscall.
template <typename T>
@@ -41,26 +41,26 @@ T* tls_new_ptr(void) noexcept;
///! @brief delete ptr syscall.
template <typename T>
-Kernel::Boolean tls_delete_ptr(T* ptr) noexcept;
+NeOS::Boolean tls_delete_ptr(T* ptr) noexcept;
//! @brief Delete process pointer.
//! @param obj The pointer to delete.
template <typename T>
-inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T> obj) noexcept;
+inline NeOS::Bool tls_delete_ptr(NeOS::ErrorOr<T> obj) noexcept;
//! @brief Delete process pointer.
//! @param obj The pointer to delete.
template <typename T>
-inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T*> obj) noexcept;
+inline NeOS::Bool tls_delete_ptr(NeOS::ErrorOr<T*> obj) noexcept;
template <typename T, typename... Args>
T* tls_new_class(Args&&... args);
/// @brief TLS install TIB and PIB. (syscall)
-EXTERN_C Kernel::Void rt_install_tib(THREAD_INFORMATION_BLOCK* TIB, THREAD_INFORMATION_BLOCK* PIB);
+EXTERN_C NeOS::Void rt_install_tib(THREAD_INFORMATION_BLOCK* TIB, THREAD_INFORMATION_BLOCK* PIB);
/// @brief TLS check (syscall)
-EXTERN_C Kernel::Bool tls_check_syscall_impl(Kernel::VoidPtr TIB) noexcept;
+EXTERN_C NeOS::Bool tls_check_syscall_impl(NeOS::VoidPtr TIB) noexcept;
#include <KernelKit/ThreadLocalStorage.inl>