KUserBindableInterruptEvent: Difference between revisions
Created page with "Category:Kernel objects class KUserBindableInterruptEvent extends KSchedulableInterruptEvent Size : 0xC bytes Abstract base class for KEventInterruptEvent and KS..." |
( ͡° ͜ʖ ͡°) (2) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Kernel | [[Category:Kernel interrupt events]] | ||
class [[KUserBindableInterruptEvent]] extends [[KSchedulableInterruptEvent]] | class [[KUserBindableInterruptEvent]] extends [[KSchedulableInterruptEvent]] | ||
Size : 0xC bytes | Size : 0xC bytes | ||
Abstract base class for | Abstract class which is a base class for [[KEvent]] and [[KSemaphore]], to be used with svcBindInterrupt. | ||
Semaphores cannot be bound to level high ("rising edge") active interrupts. | |||
For public interrupts (i.e. anything else than SGI #15 in this case), | For public interrupts (i.e. anything else than SGI #15 in this case), svcBindInterrupt sets the flag that indicates that the interrupt shall be disabled after each time the interrupt is received. | ||
The second virtual function | The second virtual function reenables the interrupt (using the interrupt ID) and signals the object (as synchronization object). In the case of KSemaphore this also increments the semaphore's count. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |