KProcess: Difference between revisions

Neobrain (talk | contribs)
mNo edit summary
Bond697 (talk | contribs)
No edit summary
Line 376: Line 376:
| 0x1C
| 0x1C
| KThread*
| KThread*
| Thread currently running kernel code to act on this process
| Thread currently running code to act on this process
|-
|-
| 0x20
| 0x20
Line 460: Line 460:
| 0x68
| 0x68
| u32
| u32
| Total size of all thread context pages (0xFF4xxxxx) owned by threads that belong to this process
| Total size of all [[KProcess#KProcessHandleTable|Thread Context]] pages owned by threads that belong to this process
|-
|-
| 0x6C
| 0x6C
Line 484: Line 484:
| 0x80
| 0x80
| KDebug*
| KDebug*
| KDebug object created from svc 60 to debug the process
| KDebug object created from [[SVC|svc 0x60]] to debug the process
|-
|-
| 0x84
| 0x84
Line 508: Line 508:
| 0x8E
| 0x8E
| s16
| s16
| Max number of threads which can belong to this process.
| Max number of threads which can belong to this process.  This is always 0.
|-
|-
| 0x90
| 0x90
| 0x10-bytes
| 0x10-bytes
| SVC access control mask from the exheader kernel descriptors. This is copied to the [[Memory_layout#0xFF4XX000|0xFF4XX000]] area when creating threads, which is the actual data the SVC-handler checks for SVC-access-control.
| SVC access control mask from the exheader kernel descriptors. This is copied to the [[Memory_layout#0xFF4XX000|Thread Context]] area when creating threads, which is the actual data the SVC-handler checks for SVC-access-control.
|-
|-
| 0xA0
| 0xA0
Line 551: Line 551:
|-
|-
| 0xDC
| 0xDC
| KProcessHandleTable
| [[Memory_layout#0xFF4XX000|KProcessHandleTable]]
| This is the data for tracking and using all of the KProcess's handles.
| This is the data for tracking and using all of the KProcess's handles.
|-
|-
Line 592: Line 592:




KProcessHandleTable info struct:
= KProcessHandleTable =
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 625: Line 626:
| 0x10
| 0x10
| KThread*
| KThread*
| Thread that is running the current code
| Thread currently running code acting on this object.
|-
|-
| 0x14
| 0x14
Line 641: Line 642:




HandleData struct:
= HandleData =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-