https://www.3dbrew.org/w/index.php?title=KObjectMutex&feed=atom&action=history
KObjectMutex - Revision history
2024-03-28T12:52:58Z
Revision history for this page on the wiki
MediaWiki 1.35.8
https://www.3dbrew.org/w/index.php?title=KObjectMutex&diff=18721&oldid=prev
TuxSH at 03:41, 4 December 2016
2016-12-04T03:41:33Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 03:41, 4 December 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l16" >Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| 0x4</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| 0x4</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| s16</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| s16</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>| Incremented at the start of each "try-acquire" loop, then decremented. Used to detect errors (<del class="diffchange diffchange-inline">kernelpanic </del>if > 0)</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>| Incremented at the start of each "try-acquire" loop, then decremented. Used to detect errors (<ins class="diffchange diffchange-inline">error </ins>if <ins class="diffchange diffchange-inline">counter </ins>> 0)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| 0x6</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>| 0x6</div></td></tr>
</table>
TuxSH
https://www.3dbrew.org/w/index.php?title=KObjectMutex&diff=18715&oldid=prev
TuxSH: 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..."
2016-12-04T02:27:04Z
<p>Created page with "<a href="/wiki/Category:Kernel_objects" title="Category:Kernel objects">Category:Kernel objects</a> Size : 0x8 bytes This is used to provide thread-safety when manipulating kernel objects such as <a href="/wiki/KProcessHwInfo" title="KProcessHwInfo">KProcessHwInfo</a>, KProcess#KProcessHandleTable..."</p>
<p><b>New page</b></p><div>[[Category:Kernel objects]]<br />
Size : 0x8 bytes<br />
<br />
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.<br />
<br />
{| class="wikitable" border="1"<br />
|-<br />
! Offset<br />
! Type<br />
! Description<br />
|-<br />
| 0x0<br />
| [[KThread]] *<br />
| Thread owning the mutex<br />
|-<br />
| 0x4<br />
| s16<br />
| Incremented at the start of each "try-acquire" loop, then decremented. Used to detect errors (kernelpanic if > 0)<br />
|-<br />
| 0x6<br />
| s16<br />
| Incremented before each context switch while trying to acquire the mutex, then decremented<br />
|}</div>
TuxSH