Difference between revisions of "KSession"

From 3dbrew
Jump to navigation Jump to search
Line 2: Line 2:
 
class [[KSession]] extends [[KAutoObject]];
 
class [[KSession]] extends [[KAutoObject]];
  
Size : 0x4C bytes
 
  
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 30: Line 29:
 
| Z ?
 
| Z ?
 
|}
 
|}
 +
It seems X=Y=Z. X, Y and Z can be NULL.
 +
 +
 +
Structure for [[7.0.0-13]] NATIVE_FIRM upward:
 +
 +
Size : 0x4C bytes
  
It seems X=Y=Z. X, Y and Z can be NULL.
+
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
! Type
 +
!  Description
 +
|-
 +
| 0x0
 +
| u32
 +
| Pointer to vtable
 +
|-
 +
| 0x4
 +
| u32
 +
| Reference count
 +
|-
 +
| 0x8
 +
| KServerSession
 +
| Server side of the session
 +
|-
 +
| 0x2C
 +
| KClientSession
 +
| Client side of the session
 +
|-

Revision as of 14:08, 26 September 2014

class KSession extends KAutoObject;


Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x20 KThread* X ?
0x24 KThread* Y ?
0x2C KThread* Z ?

It seems X=Y=Z. X, Y and Z can be NULL.


Structure for 7.0.0-13 NATIVE_FIRM upward:

Size : 0x4C bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 KServerSession Server side of the session
0x2C KClientSession Client side of the session