KSharedMemory: Difference between revisions

Bond697 (talk | contribs)
size + start of object for KSharedMemory
mNo edit summary
 
(10 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
Size : 0x28 bytes
Line 20: Line 20:
| 0x8
| 0x8
| u32
| u32
| Unknown
| Node count for [[KBlockInfo]] objects
|-
|-
| 0xC
| 0xC
| u32
| [[KLinkedListNode]]*
| Pointer to shared memory data node
| Pointer to first KLinkedListNode in the list of [[KBlockInfo]] objects associated with this KSharedMemory object
|-
|-
| 0x10
| 0x10
| u32
| [[KLinkedListNode]]*
| Pointer to above
| Pointer to last KLinkedListNode in the list of [[KBlockInfo]] objects associated with this KSharedMemory object
|-
|-
| 0x14
| 0x14
| KProcess*
| [[KProcess]]*
| Owner
| Owner
|-
|-
| 0x18
| 0x18
| u32
| u32
| Unknown
| Owner permissions
|-
|-
| 0x1C
| 0x1C
| u32
| u32
| Unknown
| Other processes' permissions for this block
|-
|-
| 0x20
| 0x20
| u32
| u8
| Set after KBlockInfo is generated for the KSharedMemory
|-
| 0x21
| s8
| Set after all KBlockInfo is generated
|-
| 0x22
| u8
| Unknown
| Unknown
|-
|-
| 0x24
| 0x24
| u32
| u32
| Unknown
| Address
|-
|-