KPort: Difference between revisions
Added size and all the fields in the KPort object |
mNo edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Kernel objects]] | [[Category:Kernel auto objects]] | ||
class [[KPort]] extends [[KAutoObject]]; | class [[KPort]] extends [[KAutoObject]]; | ||
Line 19: | Line 19: | ||
|- | |- | ||
| 0x8 | | 0x8 | ||
| KServerPort | | u32 | ||
| | | Pointer to [[KServerPort]] vtable | ||
|- | |||
| 0xC | |||
| u32 | |||
| [[KServerPort]] Reference count | |||
|- | |||
| 0x10 | |||
| u32 | |||
| Node count for threads | |||
|- | |||
| 0x14 | |||
| [[KLinkedListNode]]* | |||
| Pointer to first KLinkedListNode in the list of threads that sync with this object | |||
|- | |||
| 0x18 | |||
| [[KLinkedListNode]]* | |||
| Pointer to last KLinkedListNode in the list of threads that sync with this object | |||
|- | |||
| 0x1C | |||
| u32 | |||
| Node count for sessions | |||
|- | |||
| 0x20 | |||
| [[KLinkedListNode]]* | |||
| Pointer to first KLinkedListNode in the list of KServerSessions associated with this port | |||
|- | |||
| 0x24 | |||
| [[KLinkedListNode]]* | |||
| Pointer to last KLinkedListNode in the list of KServerSessions associated with this port | |||
|- | |||
| 0x28 | |||
| KPort* | |||
| Pointer to parent KPort | |||
|- | |- | ||
| 0x2C | | 0x2C | ||
| KClientPort | | u32 | ||
| | | Pointer to [[KClientPort]] vtable | ||
|- | |||
| 0x30 | |||
| u32 | |||
| [[KClientPort]] Reference count | |||
|- | |||
| 0x34 | |||
| u32 | |||
| Node count for threads | |||
|- | |||
| 0x38 | |||
| [[KLinkedListNode]]* | |||
| Pointer to first KLinkedListNode in the list of threads that sync with this object | |||
|- | |||
| 0x3C | |||
| [[KLinkedListNode]]* | |||
| Pointer to last KLinkedListNode in the list of threads that sync with this object | |||
|- | |||
| 0x40 | |||
| s16 | |||
| Current connection count to port | |||
|- | |||
| 0x42 | |||
| s16 | |||
| Max connection count to port | |||
|- | |- | ||
| 0x44 | |||
| KPort* | |||
| Pointer to the parent port object; | |||
|} |