<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=KInterruptEventMailbox</id>
	<title>KInterruptEventMailbox - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=KInterruptEventMailbox"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=KInterruptEventMailbox&amp;action=history"/>
	<updated>2026-05-12T22:52:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=KInterruptEventMailbox&amp;diff=18834&amp;oldid=prev</id>
		<title>TuxSH: Created page with &quot;Category: Kernel objects Size : 0x14 bytes  There are only two instances of this class. The first mailbox contains pointers to KProcess instances (viewed as KSendabl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=KInterruptEventMailbox&amp;diff=18834&amp;oldid=prev"/>
		<updated>2016-12-10T16:33:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/Category:Kernel_objects&quot; title=&quot;Category:Kernel objects&quot;&gt;Category: Kernel objects&lt;/a&gt; Size : 0x14 bytes  There are only two instances of this class. The first mailbox contains pointers to &lt;a href=&quot;/wiki/KProcess&quot; title=&quot;KProcess&quot;&gt;KProcess&lt;/a&gt; instances (viewed as KSendabl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: Kernel objects]]&lt;br /&gt;
Size : 0x14 bytes&lt;br /&gt;
&lt;br /&gt;
There are only two instances of this class. The first mailbox contains pointers to [[KProcess]] instances (viewed as [[KSendableInterruptEvent]]), and its handling thread has a priority of 0; whereas the second mailbox contains pointers to [[KThread]] instances (viewed as [[KSendableInterruptEvent]]), and DMA-related interrupt events, and its handling thread has a priority of 16. &lt;br /&gt;
&lt;br /&gt;
The handling thread executes the handler function, i.e. the first virtual function (then removes the interrupt event from the list) of all the [[KSendableInterruptEvent]] instances the mailbox contains. When that list is empty, it sets the mailbox&amp;#039;s &amp;quot;is busy&amp;quot; flag and unschedules itself.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Offset&lt;br /&gt;
! Type&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0x0&lt;br /&gt;
| u32&lt;br /&gt;
| Mailbox ID&lt;br /&gt;
|-&lt;br /&gt;
| 0x4&lt;br /&gt;
| [[KSendableInterruptEvent]] *&lt;br /&gt;
| First interrupt event&lt;br /&gt;
|-&lt;br /&gt;
| 0x8&lt;br /&gt;
| [[KSendableInterruptEvent]] *&lt;br /&gt;
| Last interrupt event&lt;br /&gt;
|-&lt;br /&gt;
| 0xC&lt;br /&gt;
| u8&lt;br /&gt;
| Mailbox is busy (and not empty)&lt;br /&gt;
|-&lt;br /&gt;
| 0xD&lt;br /&gt;
| u8[3]&lt;br /&gt;
| Padding&lt;br /&gt;
|-&lt;br /&gt;
| 0x10&lt;br /&gt;
| [[KThread]] * const&lt;br /&gt;
| Kernel thread handling this object&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>TuxSH</name></author>
	</entry>
</feed>