Kernel: Difference between revisions
w/r/t KListEntry: port names are stored in a KLockedList<KClientPortName> (editing later for that) |
|||
Line 78: | Line 78: | ||
|} | |} | ||
= | = KLinkedListEntry = | ||
Size: 0x10 + <code>sizeof(T)</code> | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Type || Description | |||
|- | |||
| 0 || [[#KLinkedListNode]] || NodeFor__List | |||
|- | |||
| 0x10 || T || Data | |||
|} | |||
= KLinkedList = | |||
Size: 0x18 | Size: 0x18 | ||
Line 85: | Line 97: | ||
! Offset || Type || Description | ! Offset || Type || Description | ||
|- | |- | ||
| 0 || | | 0 || u64 || Count | ||
|- | |- | ||
| | | 8 || [[#KLinkedListNode]] || Bounds (first, last) | ||
|} | |} | ||
Line 225: | Line 237: | ||
| 0xF0 || u64 || TotalMemUsage | | 0xF0 || u64 || TotalMemUsage | ||
|- | |- | ||
| 0xF8 | | 0xF8 || [[#KLinkedList]]<[[#KTlsPageManager]]*>> || TlsPagesList | ||
|- | |- | ||
| 0x110 || s32 || DefaultCpuCore | | 0x110 || s32 || DefaultCpuCore | ||
Line 241: | Line 251: | ||
| 0x138 || [[#KMutex]] || ThreadingMutex | | 0x138 || [[#KMutex]] || ThreadingMutex | ||
|- | |- | ||
| 0x140 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList | | 0x140 || [[#KLinkedListNode]]<[[#KThread]] *> || ThreadArbiterList | ||
|- | |- | ||
| 0x150 || KLinkedListNode || | | 0x150 || KLinkedListNode || | ||
Line 283: | Line 293: | ||
| 0x528 || void* || UsermodeExceptionTlsArea | | 0x528 || void* || UsermodeExceptionTlsArea | ||
|- | |- | ||
| 0x530 || [[#KLinkedListNode]]<[[#KThread]]> || ExceptionThreadList | | 0x530 || [[#KLinkedListNode]]<[[#KThread]] *> || ExceptionThreadList | ||
|- | |- | ||
| 0x540 || [[#KThread]]* || ExceptionThread | | 0x540 || [[#KThread]]* || ExceptionThread | ||
|- | |- | ||
| 0x548 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadList | | 0x548 || [[#KLinkedListNode]]<[[#KThread]] *> || ThreadList | ||
|- | |- | ||
| 0x558 || bool || HasStarted | | 0x558 || bool || HasStarted | ||
Line 314: | Line 324: | ||
| 0x100 || u64 || TotalMemUsage | | 0x100 || u64 || TotalMemUsage | ||
|- | |- | ||
| 0x108 | | 0x108 || [[#KLinkedList]]<[[#KTlsPageManager]]*> || TlsPagesList | ||
|- | |- | ||
| 0x120 || s32 || DefaultCpuCore | | 0x120 || s32 || DefaultCpuCore | ||
Line 330: | Line 338: | ||
| 0x148 || [[#KMutex]] || ThreadingMutex | | 0x148 || [[#KMutex]] || ThreadingMutex | ||
|- | |- | ||
| 0x150 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList | | 0x150 || [[#KLinkedListNode]]<[[#KThread]] *> || ThreadArbiterList | ||
|- | |- | ||
| 0x160 || KLinkedListNode || | | 0x160 || KLinkedListNode || | ||
Line 374: | Line 382: | ||
| 0x2380 || void* || UsermodeExceptionTlsArea | | 0x2380 || void* || UsermodeExceptionTlsArea | ||
|- | |- | ||
| 0x2388 || [[#KLinkedListNode]]<[[#KThread]]> || ExceptionThreadList | | 0x2388 || [[#KLinkedListNode]]<[[#KThread]] *> || ExceptionThreadList | ||
|- | |- | ||
| 0x2398 || [[#KThread]]* || ExceptionThread | | 0x2398 || [[#KThread]]* || ExceptionThread | ||
|- | |- | ||
| 0x23A0 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadList | | 0x23A0 || [[#KLinkedListNode]]<[[#KThread]] *> || ThreadList | ||
|- | |- | ||
| 0x23B0 || [[#KLinkedListNode]]<[[#KSharedMemoryRef]]> || MappedSharedMemoriesList | | 0x23B0 || [[#KLinkedListNode]]<[[#KSharedMemoryRef]] *> || MappedSharedMemoriesList | ||
|- | |- | ||
| 0x23C0 || bool || HasStarted | | 0x23C0 || bool || HasStarted | ||
Line 570: | Line 578: | ||
! Offset || Type || Description | ! Offset || Type || Description | ||
|- | |- | ||
| 0 || [[#KLinkedListNode]]<[[#KSharedMemoryRef]]> || NodeFor__MappedSharedMemoriesList | | 0 || [[#KLinkedListNode]]<[[#KSharedMemoryRef]] *> || NodeFor__MappedSharedMemoriesList | ||
|- | |- | ||
| 0x10 || [[#KSharedMemory*]] || SharedMem | | 0x10 || [[#KSharedMemory*]] || SharedMem | ||
Line 745: | Line 753: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || [[#KLinkedListNode]]<[[#KMemoryBlock]]> || NodeFor__MemoryBlockList | | 0 || [[#KLinkedListNode]]<[[#KMemoryBlock]] *> || NodeFor__MemoryBlockList | ||
|- | |- | ||
| 0x10 || || | | 0x10 || || | ||
Line 1,542: | Line 1,550: | ||
! Offset || Type || Description | ! Offset || Type || Description | ||
|- | |- | ||
| 0 || [[#KLinkedListNode]]<[[#KDebugEvent]]> || NodeFor__EventList | | 0 || [[#KLinkedListNode]]<[[#KDebugEvent]] *> || NodeFor__EventList | ||
|- | |- | ||
| 0x10 || u32 || EventType | | 0x10 || u32 || EventType |