This function is declared in the kos/thread.h file.
kos/thread.h
Retcode KosThreadTlsSet(void *tls);
This function defines the address of the local storage for the thread (TLS).
Input argument tls contains the TLS address.
tls