Kernel: Difference between revisions
| Line 1,100: | Line 1,100: | ||
[1.0.0] Size: 0x380 | [1.0.0] Size: 0x380 | ||
[2.0.0] Size: | [2.0.0] Size: 0x450 | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Type || Description | ! 1.0.0 Offset || Type || Description | ||
|- | |- | ||
| 0 || [[#KPoolAllocator]][3] || Allocator | | 0 || [[#KPoolAllocator]][3] || Allocator | ||
| Line 1,115: | Line 1,115: | ||
|- | |- | ||
| 0x378 || [[#KRecursiveLock]] || Mutex | | 0x378 || [[#KRecursiveLock]] || Mutex | ||
|} | |||
{| class="wikitable" border="1" | |||
|- | |||
! 2.0.0 Offset || Type || Description | |||
|- | |||
| 0 || [[#KPoolAllocator]] || Allocator0 | |||
|- | |||
| 0x220 || [[#KPartitionInfo]]* || PartitionInfo0 | |||
|- | |||
| 0x228 || [[#KPoolAllocator]] || Allocator1 | |||
|- | |||
| 0x448 || [[#KPartitionInfo]]* || PartitionInfo1 | |||
|} | |} | ||
== KPoolAllocator == | == KPoolAllocator == | ||
Size: 0x118 | [1.0.0] Size: 0x118 | ||
[2.0.0] Size: 0x220 | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Type || Description | ! 1.0.0 Offset || Type || Description | ||
|- | |- | ||
| 0 || void* || MemoryBase | | 0 || void* || MemoryBase | ||
| Line 1,131: | Line 1,146: | ||
|- | |- | ||
| 0x18 || [[#KPool]][8] || Pools | | 0x18 || [[#KPool]][8] || Pools | ||
|} | |||
{| class="wikitable" border="1" | |||
|- | |||
! 2.0.0 Offset || Type || Description | |||
|- | |||
| 0 || void* || MemoryBase | |||
|- | |||
| 8 || u64 || MemorySize | |||
|- | |||
| 0x10 || [[#KPool]][8] || Pools | |||
|- | |||
| 0x210 || s32 || NumPools | |||
|} | |} | ||
=== KPool === | === KPool === | ||
Size: 0x20 | [1.0.0] Size: 0x20 | ||
[2.0.0] Size: 0x40 | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Type || Description | ! 1.0.0 Offset || Type || Description | ||
|- | |- | ||
| 0 || KPoolHeader* || FirstFreeChunk | | 0 || KPoolHeader* || FirstFreeChunk | ||
| Line 1,148: | Line 1,178: | ||
| 0x18 || void* || SingletonTableEntryPtr | | 0x18 || void* || SingletonTableEntryPtr | ||
|} | |} | ||
{| class="wikitable" border="1" | |||
|- | |||
! 2.0.0 Offset || Type || Description | |||
|- | |||
| 0 || KPoolHeader* || FirstFreeChunk | |||
|- | |||
| 8 || u64 || | |||
|- | |||
| 0x10 || u64 || | |||
|- | |||
| 0x18 || void* || SingletonTableEntryPtr | |||
|- | |||
| 0x20 || [[#KPool]]* || Parent | |||
|- | |||
| 0x30 || u64[2] || DmaProtectionKey | |||
|} | |||
== KPoolRefManager == | == KPoolRefManager == | ||
Size: 0x20 | [1.0.0] Size: 0x20 | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||