NeKernel dev
Loading...
Searching...
No Matches
ThreadLocalStorage.cc File Reference

NeKernel Thread Local Storage. More...

Functions

Boolean tls_check_tib (THREAD_INFORMATION_BLOCK *tib_ptr)
 Checks for cookie inside the TIB.
EXTERN_C Bool tls_check_syscall_impl (Kernel::VoidPtr tib_ptr)
 System call implementation of the TLS check.

Detailed Description

NeKernel Thread Local Storage.

@bugs: 0

Author
Amlal El Mahrouss (amlal.nosp@m.@nek.nosp@m.ernel.nosp@m..org)

Function Documentation

◆ tls_check_syscall_impl()

EXTERN_C Bool tls_check_syscall_impl ( Kernel::VoidPtr tib_ptr)

System call implementation of the TLS check.

TLS check (syscall).

Parameters
tib_ptrThe TIB record.
Returns
if the TIB record is valid or not.

◆ tls_check_tib()

Boolean tls_check_tib ( THREAD_INFORMATION_BLOCK * tib_ptr)

Checks for cookie inside the TIB.

!

Parameters
tib_ptrthe TIB to check.
Returns
if the cookie is enabled, true; false otherwise