Changes

167 bytes added ,  09:29, 2 December 2020
no edit summary
Line 98: Line 98:  
* Most KThread waits now use KThreadWaiterListIntrusiveNode instead of KThreadQueue
 
* Most KThread waits now use KThreadWaiterListIntrusiveNode instead of KThreadQueue
 
* KConditionVariable no longer uses global threads for the call to .nfind()
 
* KConditionVariable no longer uses global threads for the call to .nfind()
 +
* KConditionVariable now sets the cv_key u32 value in userspace to 1 when a condvar has waiters, and to 0 when it does not.
 +
** New nnSdk code relies on this behavior.
 
* KCoreLocalRegion deleted, replaced with pointer-to-current-thread
 
* KCoreLocalRegion deleted, replaced with pointer-to-current-thread
 
** TPIDR_EL1 != X18 now, and TPIDR_EL1 now always points to the exception thread stack.
 
** TPIDR_EL1 != X18 now, and TPIDR_EL1 now always points to the exception thread stack.