Changes

Jump to navigation Jump to search
630 bytes added ,  04:27, 4 December 2016
Created page with "Category:Kernel objects Size : 0x8 bytes This is used to provide thread-safety when manipulating kernel objects such as KProcessHwInfo, KProcess#KProcessHandleTable..."
[[Category:Kernel objects]]
Size : 0x8 bytes

This is used to provide thread-safety when manipulating kernel objects such as [[KProcessHwInfo]], [[KProcess#KProcessHandleTable|KProcessHandleTable]], [[ARM11_Interrupts#Interrupt_Table_.28New3DS.29|InterruptTable]], etc.

{| class="wikitable" border="1"
|-
! Offset
! Type
! Description
|-
| 0x0
| [[KThread]] *
| Thread owning the mutex
|-
| 0x4
| s16
| Incremented at the start of each "try-acquire" loop, then decremented. Used to detect errors (kernelpanic if > 0)
|-
| 0x6
| s16
| Incremented before each context switch while trying to acquire the mutex, then decremented
|}
516

edits

Navigation menu