Difference between revisions of "KClientSession"

From 3dbrew
Jump to navigation Jump to search
m
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel synchronization objects]]
 
class [[KClientSession]] extends [[KSynchronizationObject]];
 
class [[KClientSession]] extends [[KSynchronizationObject]];
  
Size : 0x4C bytes
+
Size : 0x20 bytes
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 19: Line 19:
 
|-
 
|-
 
| 0x8
 
| 0x8
| KServerSession
+
| u32
| Server side of the session
+
| KLinkedListNode count for object
 
|-
 
|-
| 0x2C
+
| 0xC
| KClientSession
+
| KLinkedListNode*
| Client side of the session
+
| Pointer to first KLinkedListNode in list of KThreads using this client session
 
|-
 
|-
 +
| 0x10
 +
| KLinkedListNode*
 +
| Pointer to last KLinkedListNode in list of KThreads using this client session
 +
|-
 +
| 0x14
 +
| KSession*
 +
| Pointer to parent session
 +
|-
 +
| 0x18
 +
| u32
 +
| Session status
 +
|-
 +
| 0x1C
 +
| KClientPort*
 +
| Pointer to associated client port inside parent KPort
 +
|}
 +
 +
Session status:
 +
 +
1: open<br>
 +
2: closed by client<br>
 +
3: closed by server?

Latest revision as of 01:54, 5 December 2016

class KClientSession extends KSynchronizationObject;

Size : 0x20 bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 KLinkedListNode count for object
0xC KLinkedListNode* Pointer to first KLinkedListNode in list of KThreads using this client session
0x10 KLinkedListNode* Pointer to last KLinkedListNode in list of KThreads using this client session
0x14 KSession* Pointer to parent session
0x18 u32 Session status
0x1C KClientPort* Pointer to associated client port inside parent KPort

Session status:

1: open
2: closed by client
3: closed by server?