Changes

273 bytes added ,  05:22, 19 March 2015
no edit summary
Line 65: Line 65:  
| u32
 
| u32
 
| Unknown/unused
 
| Unknown/unused
 +
|-
 +
| 0x28
 +
| ThreadSchedulePrioList[64]
 +
| List of KThread pair structs by priority
 +
|}
 +
 +
 +
 +
ThreadSchedulePrioList struct:
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
!  Type
 +
!  Description
 +
|-
 +
| 0x0
 +
| KThread*
 +
| First
 +
|-
 +
| 0x4
 +
| KThread*
 +
| Last
 
|}
 
|}
       
There is 1 KScheduler object per core.
 
There is 1 KScheduler object per core.
 +
 +
 +
ThreadSchedulePrioList info:
    
Each priority of KThread has a pair of KThread object pointers below the KScheduler object.  Each pair of pointers makes up 1 entry in that core's Scheduler for their priority.  The first KThread in the entry is the first KThread in the linked list and the second is the last KThread in the linked list of KThreads in the scheduler that have the same priority.
 
Each priority of KThread has a pair of KThread object pointers below the KScheduler object.  Each pair of pointers makes up 1 entry in that core's Scheduler for their priority.  The first KThread in the entry is the first KThread in the linked list and the second is the last KThread in the linked list of KThreads in the scheduler that have the same priority.
374

edits