Line 159: |
Line 159: |
| |- | | |- |
| | 0xA0 | | | 0xA0 |
− | | KThread* | + | | KThreadLinkedList |
− | | Previous (virtual address) | + | | Previous and next scheduled threads |
− | |-
| |
− | | 0xA4
| |
− | | KThread*
| |
− | | Next (virtual address)
| |
| |- | | |- |
| | 0xA8 | | | 0xA8 |
− | | struct { KThread* first; KThread* last; } * ptr | + | | KThreadLinkedList * |
− | | Pointer to linked list that has stolen it, or 0 if in normal list | + | | Pointer to linked list of scheduled threads that has stolen it, or 0 if in normal list |
| |- | | |- |
| | 0xAC | | | 0xAC |
Line 175: |
Line 171: |
| |} | | |} |
| | | |
| + | With the following declaration: <code>struct KThreadLinkedList { KThread *prev, *next; };</code>. |
| | | |
| =Thread Affinity Mask= | | =Thread Affinity Mask= |