Difference between revisions of "KSharedMemory"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Kernel objects class KSharedMemory extends KAutoObject;")
 
m
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel auto objects]]
class [[KSharedMemory]] extends [[KAutoObject]];
+
class [[KSharedMemory]] extends [[KAutoObject]] and [[KLinkedList]];
 +
 
 +
Size : 0x28 bytes
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Offset
 +
! Type
 +
!  Description
 +
|-
 +
| 0x0
 +
| u32
 +
| Pointer to vtable
 +
|-
 +
| 0x4
 +
| u32
 +
| Reference count
 +
|-
 +
| 0x8
 +
| u32
 +
| Node count for [[KBlockInfo]] objects
 +
|-
 +
| 0xC
 +
| [[KLinkedListNode]]*
 +
| Pointer to first KLinkedListNode in the list of [[KBlockInfo]] objects associated with this KSharedMemory object
 +
|-
 +
| 0x10
 +
| [[KLinkedListNode]]*
 +
| Pointer to last KLinkedListNode in the list of [[KBlockInfo]] objects associated with this KSharedMemory object
 +
|-
 +
| 0x14
 +
| [[KProcess]]*
 +
| Owner
 +
|-
 +
| 0x18
 +
| u32
 +
| Owner permissions
 +
|-
 +
| 0x1C
 +
| u32
 +
| Other processes' permissions for this block
 +
|-
 +
| 0x20
 +
| u8
 +
| Set after KBlockInfo is generated for the KSharedMemory
 +
|-
 +
| 0x21
 +
| s8
 +
| Set after all KBlockInfo is generated
 +
|-
 +
| 0x22
 +
| u8
 +
| Unknown
 +
|-
 +
| 0x24
 +
| u32
 +
| Address
 +
|-

Latest revision as of 02:01, 5 December 2016

class KSharedMemory extends KAutoObject and KLinkedList;

Size : 0x28 bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 Node count for KBlockInfo objects
0xC KLinkedListNode* Pointer to first KLinkedListNode in the list of KBlockInfo objects associated with this KSharedMemory object
0x10 KLinkedListNode* Pointer to last KLinkedListNode in the list of KBlockInfo objects associated with this KSharedMemory object
0x14 KProcess* Owner
0x18 u32 Owner permissions
0x1C u32 Other processes' permissions for this block
0x20 u8 Set after KBlockInfo is generated for the KSharedMemory
0x21 s8 Set after all KBlockInfo is generated
0x22 u8 Unknown
0x24 u32 Address