Difference between revisions of "KThread"

From 3dbrew
Jump to navigation Jump to search
Line 18: Line 18:
 
| 0x80
 
| 0x80
 
| KProcess*
 
| KProcess*
| Process the thread belongs to
+
| Process the thread belongs to (virtual address)
 
|-
 
|-
 
| 0x84
 
| 0x84
Line 26: Line 26:
 
| 0xA0
 
| 0xA0
 
| KThread*
 
| KThread*
| Previous ?
+
| Previous ? (virtual address)
 
|-
 
|-
 
| 0xA4
 
| 0xA4
 
| KThread*
 
| KThread*
| Next ?
+
| Next ? (virtual address)
 
|}
 
|}

Revision as of 15:51, 22 September 2013

class KThread extends KSynchronizationObject;

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x80 KProcess* Process the thread belongs to (virtual address)
0x84 u32 Thread id
0xA0 KThread* Previous ? (virtual address)
0xA4 KThread* Next ? (virtual address)