Difference between revisions of "KThread"

From 3dbrew
Jump to navigation Jump to search
m
m
Line 25: Line 25:
 
| u32
 
| u32
 
| Thread id
 
| Thread id
 +
|-
 +
| 0x88
 +
| u32
 +
| X = Y-0xB0 (sizeof(KThread) ?)
 +
|-
 +
| 0x8C
 +
| u32
 +
| Y
 
|-
 
|-
 
| 0xA0
 
| 0xA0

Revision as of 14:01, 23 September 2013

class KThread extends KSynchronizationObject;

Size : 0xB0 bytes

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
0x88 u32 X = Y-0xB0 (sizeof(KThread) ?)
0x8C u32 Y
0xA0 KThread* Previous ? (virtual address)
0xA4 KThread* Next ? (virtual address)