Difference between revisions of "KSemaphore"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Kernel objects class KSemaphore extends KSynchronizationObject;")
 
Line 1: Line 1:
 
[[Category:Kernel objects]]
 
[[Category:Kernel objects]]
 
class [[KSemaphore]] extends [[KSynchronizationObject]];
 
class [[KSemaphore]] extends [[KSynchronizationObject]];
 +
 +
Size : 0x2C bytes
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
! Type
 +
!  Description
 +
|-
 +
| 0x0
 +
| u32
 +
| Pointer to vtable
 +
|-
 +
| 0x4
 +
| u32
 +
| Reference count
 +
|-
 +
| 0x8
 +
| u32
 +
| Unknown
 +
|-
 +
| 0xC
 +
| u32
 +
| Pointer to semaphore data node
 +
|-
 +
| 0x10
 +
| u32
 +
| Pointer identical to the one above
 +
|-
 +
| 0x14
 +
| u32
 +
| Pointer to smaller vtable
 +
|-
 +
| 0x18
 +
| u32
 +
| Unknown
 +
|-
 +
| 0x1C
 +
| u32
 +
| Unknown
 +
|-
 +
| 0x20
 +
| u32
 +
| Unknown
 +
|-
 +
| 0x24
 +
| u32
 +
| Count
 +
|-
 +
| 0x28
 +
| KProcess*
 +
| Owner
 +
|-

Revision as of 06:49, 28 September 2014

class KSemaphore extends KSynchronizationObject;

Size : 0x2C bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 Unknown
0xC u32 Pointer to semaphore data node
0x10 u32 Pointer identical to the one above
0x14 u32 Pointer to smaller vtable
0x18 u32 Unknown
0x1C u32 Unknown
0x20 u32 Unknown
0x24 u32 Count
0x28 KProcess* Owner