Difference between revisions of "KDebugThread"
Jump to navigation
Jump to search
(Begun KDebugThread) |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Kernel objects]] | [[Category:Kernel objects]] | ||
− | |||
− | |||
Size : 0x18 bytes | Size : 0x18 bytes | ||
Line 11: | Line 9: | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
− | | KThread* | + | | [[KThread]] * |
| Pointer to KThread object this KDebugThread is linked to | | Pointer to KThread object this KDebugThread is linked to | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| u8 | | u8 | ||
− | | | + | | Indicates that svcBreak was used with type != (UN)LOAD_RO |
|- | |- | ||
| 0x5 | | 0x5 | ||
| u8 | | u8 | ||
− | | | + | | Indicates that the thread has been locked by KDebug-related functions |
|- | |- | ||
| 0x6 | | 0x6 | ||
| u8 | | u8 | ||
− | | | + | | Indicates that the thread shall be locked, set by KDebug-related functions |
|- | |- | ||
| 0x7 | | 0x7 | ||
| u8 | | u8 | ||
− | | | + | | For SCHEDULE IN/OUT debug events: 0 for IN, 1 for OUT |
|- | |- | ||
| 0x8 | | 0x8 | ||
| u8 | | u8 | ||
− | | | + | | Thread is attached |
|- | |- | ||
| 0x9 | | 0x9 | ||
| u8 | | u8 | ||
− | | | + | | For SYSCALL IN/OUT debug events: 0 for IN, 1 for OUT |
+ | |- | ||
+ | | 0xA | ||
+ | | u8[2] | ||
+ | | Padding | ||
+ | |- | ||
+ | | 0xC | ||
+ | | u32 | ||
+ | | Thread exit reason | ||
+ | |- | ||
+ | | 0x10 | ||
+ | | u32 | ||
+ | | ID of the creator thread | ||
+ | |- | ||
+ | | 0x14 | ||
+ | | u32 | ||
+ | | Fault Address Register (when applicable) | ||
|} | |} |
Latest revision as of 23:36, 11 March 2017
Size : 0x18 bytes
Offset | Type | Description |
---|---|---|
0x0 | KThread * | Pointer to KThread object this KDebugThread is linked to |
0x4 | u8 | Indicates that svcBreak was used with type != (UN)LOAD_RO |
0x5 | u8 | Indicates that the thread has been locked by KDebug-related functions |
0x6 | u8 | Indicates that the thread shall be locked, set by KDebug-related functions |
0x7 | u8 | For SCHEDULE IN/OUT debug events: 0 for IN, 1 for OUT |
0x8 | u8 | Thread is attached |
0x9 | u8 | For SYSCALL IN/OUT debug events: 0 for IN, 1 for OUT |
0xA | u8[2] | Padding |
0xC | u32 | Thread exit reason |
0x10 | u32 | ID of the creator thread |
0x14 | u32 | Fault Address Register (when applicable) |