KProcess: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
[[Category:Kernel synchronization objects]]
class [[KProcess]] extends [[KSynchronizationObject]];
[[Category:Kernel interrupt events]]
class [[KProcess]] extends [[KSynchronizationObject]] and [[KSendableInterruptEvent]];


Size : 0x270 (N3DS) / 0x268 bytes (O3DS post 8.x) / 0x260 bytes (O3DS pre 8.x). 0x4D8 bytes on ARM9.
Size : 0x270 (N3DS) / 0x268 bytes (O3DS post 8.x) / 0x260 bytes (O3DS pre 8.x). 0x4D8 bytes on ARM9.
Line 34: Line 35:
|-
|-
| 0x14
| 0x14
| u32
| [[KSendableInterruptEvent]]
| Unknown
| Interrupt event (*this) sent to terminate the process
|-
| 0x18
| u32
| Unknown
|-
|-
| 0x1C
| 0x1C
Line 208: Line 205:
|-
|-
| 0x10
| 0x10
| KThread*
| [[KObjectMutex]]
| Thread currently running code acting on this object.
| Mutex
|-
| 0x14
| s16
| Track errors for the running thread above.
|-
| 0x16
| s16
| Unused, alignment
|-
|-
| 0x18
| 0x18
Line 223: Line 212:
| This small handle data table, internal to the KProcess, is only used in certain processes that don't have an external handle descriptor table in FCRAM.  It is all zeros in most processes.
| This small handle data table, internal to the KProcess, is only used in certain processes that don't have an external handle descriptor table in FCRAM.  It is all zeros in most processes.
|}
|}


= HandleDescriptor =
= HandleDescriptor =