KSharedMemory: Difference between revisions
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 | ||
| | | Node count for [[KBlockInfo]] objects | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | [[KLinkedListNode]]* | ||
| Pointer to | | Pointer to first KLinkedListNode in the list of [[KBlockInfo]] objects associated with this KSharedMemory object | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| | | [[KLinkedListNode]]* | ||
| Pointer to | | 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 | ||
| | | Owner permissions | ||
|- | |- | ||
| 0x1C | | 0x1C | ||
| u32 | | u32 | ||
| | | Other processes' permissions for this block | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
| | | 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 | ||
| | | Address | ||
|- | |- |