Update TLS comments

This commit is contained in:
Dr. Chat 2015-12-27 19:40:10 -06:00 committed by Ben Vanik
parent 5cb591b993
commit 764dcba75a
1 changed files with 0 additions and 5 deletions

View File

@ -376,11 +376,6 @@ SHIM_CALL KeQuerySystemTime_shim(PPCContext* ppc_context,
} }
} }
// The TLS system used here is a bit hacky, but seems to work.
// Both Win32 and pthreads use unsigned longs as TLS indices, so we can map
// right into the system for these calls. We're just round tripping the IDs and
// hoping for the best.
// http://msdn.microsoft.com/en-us/library/ms686801 // http://msdn.microsoft.com/en-us/library/ms686801
dword_result_t KeTlsAlloc() { dword_result_t KeTlsAlloc() {
uint32_t slot = kernel_state()->AllocateTLS(); uint32_t slot = kernel_state()->AllocateTLS();