Kernel: Difference between revisions

KRecursiveLock -> KMutex. Also, KRecursiveLock.
Line 27: Line 27:
|}
|}


= KRecursiveLock =
= KMutex =
Size: 0x8
Size: 0x8


Line 36: Line 36:
| 0 || u64 || OwnerTag
| 0 || u64 || OwnerTag
|}
|}
= KRecursiveLock =
Size: 0x18
{| class="wikitable" border="1"
|-
! Offset || Type || Description
|-
| 0 || [[#KThread]] * || Owner
|-
| 8 || s32 || Count
|}


= KLockedList =
= KLockedList =
Line 48: Line 61:
| 8 || [[#KLinkedListNode]] || List
| 8 || [[#KLinkedListNode]] || List
|-
|-
| 0x18 || [[#KRecursiveLock]] || Mutex
| 0x18 || [[#KMutex]] || Mutex
|-
|-
| 0x20 || u64 || MaxCount
| 0x20 || u64 || MaxCount
Line 199: Line 212:
| 0x128 || u32 || State
| 0x128 || u32 || State
|-
|-
| 0x130 || [[#KRecursiveLock]] || ProcessMutex
| 0x130 || [[#KMutex]] || ProcessMutex
|-
|-
| 0x138 || [[#KRecursiveLock]] || ThreadingMutex
| 0x138 || [[#KMutex]] || ThreadingMutex
|-
|-
| 0x140 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList
| 0x140 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList
Line 288: Line 301:
| 0x138 || u32 || State
| 0x138 || u32 || State
|-
|-
| 0x140 || [[#KRecursiveLock]] || ProcessMutex
| 0x140 || [[#KMutex]] || ProcessMutex
|-
|-
| 0x148 || [[#KRecursiveLock]] || ThreadingMutex
| 0x148 || [[#KMutex]] || ThreadingMutex
|-
|-
| 0x150 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList
| 0x150 || [[#KLinkedListNode]]<[[#KThread]]> || ThreadArbiterList
Line 551: Line 564:
| 0x40 || u64 || HeapMaxAllocation
| 0x40 || u64 || HeapMaxAllocation
|-
|-
| 0x48 || [[#KRecursiveLock]] || Mutex
| 0x48 || [[#KMutex]] || Mutex
|-
|-
| 0x50 || [[#KPageTable]] || PageTable
| 0x50 || [[#KPageTable]] || PageTable
Line 618: Line 631:
| 0x60 || u64 || HeapMaxAllocation
| 0x60 || u64 || HeapMaxAllocation
|-
|-
| 0x68 || [[#KRecursiveLock]] || Mutex
| 0x68 || [[#KMutex]] || Mutex
|-
|-
| 0x70 || [[#KPageTable]] || PageTable
| 0x70 || [[#KPageTable]] || PageTable
Line 757: Line 770:
| 0x30 || u64 || BaseAddress
| 0x30 || u64 || BaseAddress
|-
|-
| 0x38 || KRecursiveLock || Mutex
| 0x38 || KMutex || Mutex
|-
|-
| 0x40 || int || Permission
| 0x40 || int || Permission
Line 1,191: Line 1,204:
| 0 || [[#KAutoObject]] || Inheritance
| 0 || [[#KAutoObject]] || Inheritance
|-
|-
| 0x10 || [[#KRecursiveLock]] || Mutex
| 0x10 || [[#KMutex]] || Mutex
|-
|-
| 0x18 || [[#KSmmuManager]] || Manager
| 0x18 || [[#KSmmuManager]] || Manager
Line 1,245: Line 1,258:
| 0x38 || u64[5] || LimitValue
| 0x38 || u64[5] || LimitValue
|-
|-
| 0x60 || [[#KRecursiveLock]] || Mutex
| 0x60 || [[#KMutex]] || Mutex
|}
|}


Line 1,266: Line 1,279:
| 0x370 || u64 ||
| 0x370 || u64 ||
|-
|-
| 0x378 || [[#KRecursiveLock]] || Mutex
| 0x378 || [[#KMutex]] || Mutex
|}
|}
</div>
</div>
Line 1,444: Line 1,457:
| 0x800 || [[#KIrqEntry]][224] || SharedIrqs
| 0x800 || [[#KIrqEntry]][224] || SharedIrqs
|-
|-
| 0x1600 || [[#KRecursiveLock]] || Mutex
| 0x1600 || [[#KMutex]] || Mutex
|}
|}


Line 1,476: Line 1,489:
| 0x40 || [[#KProcess]]* || ProcessPtr
| 0x40 || [[#KProcess]]* || ProcessPtr
|-
|-
| 0x48 || [[#KRecursiveLock]] || Mutex
| 0x48 || [[#KMutex]] || Mutex
|}
|}