Difference between revisions of "KSharedMemory"

From 3dbrew
Jump to navigation Jump to search
Line 11: Line 11:
 
|-
 
|-
 
| 0x0
 
| 0x0
| u32
+
| [[KAutoObject]]
| Pointer to vtable
+
| Base object
|-
 
| 0x4
 
| u32
 
| Reference count
 
 
|-
 
|-
 
| 0x8
 
| 0x8
| u32
+
| [[KLinkedList]]
| KLinkedListNode count for object
+
| List of [[KBlockInfo]] objects associated with this KSharedMemory object.
|-
 
| 0xC
 
| KLinkedListNode*
 
| Pointer to first KBlockInfo KLinkedListNode in the list of KBlockInfo objects associated with this KSharedMemory object
 
|-
 
| 0x10
 
| KLinkedListNode*
 
| Pointer to last KBlockInfo KLinkedListNode in the list of KBlockInfo objects associated with this KSharedMemory object
 
 
|-
 
|-
 
| 0x14
 
| 0x14
| KProcess*
+
| [[KProcess]]*
 
| Owner
 
| Owner
 
|-
 
|-

Revision as of 15:42, 3 February 2016

class KSharedMemory extends KAutoObject and KLinkedList;

Size : 0x28 bytes

Offset Type Description
0x0 KAutoObject Base object
0x8 KLinkedList List of KBlockInfo objects associated with this KSharedMemory object.
0x14 KProcess* Owner
0x18 u32 Owner Permission
0x1C u32 otherpermission
0x20 u8 Set after KBlockInfo is generated for the KSharedMemory
0x21 s8 Set after all KBlockInfo is generated
0x22 u8 Unknown
0x24 u32 Address