Difference between revisions of "KProcess"

From 3dbrew
Jump to navigation Jump to search
Line 19: Line 19:
 
| u32
 
| u32
 
| Virtual address of the MMU table for this process
 
| Virtual address of the MMU table for this process
 +
|-
 +
| 0x7C
 +
| u32
 +
| Number of threads belonging to this process.
 
|-
 
|-
 
| 0x80
 
| 0x80

Revision as of 17:47, 22 September 2013

class KProcess extends KSynchronizationObject;

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x54 u32 Virtual address of the MMU table for this process
0x7C u32 Number of threads belonging to this process.
0x80 0x10-bytes SVC access control mask from the exheader kernel descriptors.
0xA0 u32 Kernel flags from the exheader kernel descriptors.
0xA4 u32 Handle table size from the exheader kernel descriptors.
0xA8 u32 Pointer to KCodeSet instance
0xAC u32 Process id, this always begins at 0x0 for the first process.