From 7d2a7e7cab23b8217498866615a3719e5d3980ee Mon Sep 17 00:00:00 2001 From: Amlal Date: Thu, 20 Feb 2025 12:32:38 +0100 Subject: NeOS: Namespace change from 'Kernel' to 'NeOS' ADD: Start defining the Workstation's HPFS (High-Performance File System) Signed-off-by: Amlal --- dev/Kernel/KernelKit/ThreadLocalStorage.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'dev/Kernel/KernelKit/ThreadLocalStorage.h') 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 @@ -41,26 +41,26 @@ T* tls_new_ptr(void) noexcept; ///! @brief delete ptr syscall. template -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 -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr obj) noexcept; +inline NeOS::Bool tls_delete_ptr(NeOS::ErrorOr obj) noexcept; //! @brief Delete process pointer. //! @param obj The pointer to delete. template -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr obj) noexcept; +inline NeOS::Bool tls_delete_ptr(NeOS::ErrorOr obj) noexcept; template 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 -- cgit v1.2.3