Kernel: Difference between revisions
Jump to navigation
Jump to search
| Line 81: | Line 81: | ||
| KRecursiveLock | | KRecursiveLock | ||
| ProcessMutex | | ProcessMutex | ||
|- | |||
| .. | |||
| .. | |||
| .. | |||
|- | |||
| 0x198 | |||
| KProcessCapabilities | |||
| Capabilities | |||
|- | |- | ||
| .. | | .. | ||
| Line 150: | Line 158: | ||
| .. | | .. | ||
|} | |} | ||
== KProcessCapabilities == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Type | |||
! Description | |||
|- | |||
| 0 | |||
| u8[16] | |||
| SvcAccessMask | |||
|- | |||
| 0x10 | |||
| u8[128] | |||
| IrqAccessMask | |||
|- | |||
| 0x90 | |||
| u64 | |||
| AllowedCpuIdBitmask | |||
|- | |||
| 0x98 | |||
| u64 | |||
| AllowedThreadPrioBitmask | |||
} | |||
== KMemoryBlock == | == KMemoryBlock == | ||
Revision as of 04:06, 7 August 2017
KAutoObject
Size: 0x10
| Offset | Type | Description |
|---|---|---|
| 0 | * | Vtable |
| 8 | u64 | ReferenceCount |
KSynchronizationObject
Size: 0x28
Inherits from: #KAutoObject
| Offset | Type | Description |
|---|---|---|
| 0 | #KAutoObject | |
| 0x10 | u64 | ThreadSyncNum |
| 0x18 | #KLinkedListNode | ThreadSyncList |
KLinkedListNode
Size: 0x10
| Offset | Type | Description |
|---|---|---|
| 0 | #KLinkedListNode* | Prev |
| 8 | #KLinkedListNode* | Next |
KProcess
Size: 0x5B0
Inherits from: #KSynchronizationObject
| Offset | Type | Description |
|---|---|---|
| 0 | #KSynchronizationObject | |
| 0x28 | ||
| 0x38 | #KProcessMm | MemoryManager |
| 0xF0 | u64 | TotalMemUsage |
| 0xF8 | u64 | |
| 0x100 | #KLinkedListNode* | TlsPagesList |
| .. | .. | .. |
| 0x130 | KRecursiveLock | ProcessMutex |
| .. | .. | .. |
| 0x198 | KProcessCapabilities | Capabilities |
| .. | .. | .. |
| 0x288 | KProcessHandleTable | HandleTable |
KProcessMm
| Offset | Type | Description |
|---|---|---|
| 0 | * | Vtable |
| 8 | u64 | AddrSpaceMinAddr |
| 0x10 | u64 | AddrSpaceMaxAddr |
| 0x18 | u64 | HeapBaseAddr |
| 0x20 | u64 | HeapEndAddr |
| 0x28 | u64 | HeapCurAddr |
| 0x30 | u64 | MapRegionBaseAddr |
| 0x38 | u64 | MapRegionEnd |
| 0x40 | u64 | HeapMaxAllocation |
| 0x48 | KRecursiveLock | Mutex |
| 0x50 | ||
| 0x60 | #KMemoryBlock* | MemoryBlockList |
| .. | .. | .. |
KProcessCapabilities
| Offset | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | u8[16] | SvcAccessMask | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0x10 | u8[128] | IrqAccessMask | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0x90 | u64 | AllowedCpuIdBitmask | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0x98 | u64 | AllowedThreadPrioBitmask
} KMemoryBlockSize: 0x40
KMemoryBlockInfoSize: 0x20
KTransferMemorySize: 0x48 Inherits from: #KAutoObject
Size: 0x40 Inherits from: #KAutoObject
KPortSize: 0xA8 Inherits from: #KAutoObject
KServerPortSize: 0x50 Inherits from: #KSynchronizationObject
KClientPortSize: 0x38 Inherits from: #KSynchronizationObject
KEventSize: 0x70 Inherits from: #KAutoObject
KReadableEventSize: 0x38 Inherits from: #KSynchronizationEvent
KWritableEventSize: 0x18 Inherits from: #KAutoObject
KInterruptEventSize: 0x50 Inherits from: #KReadableEvent
KAddressSpaceSize: 0x70 Inherits from: #KAutoObject
KSmmuManagerSize: 0x40
|