Difference between revisions of "KEvent"

From 3dbrew
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Kernel objects]]
+
[[Category:Kernel synchronization objects]]
class [[KEvent]] extends [[KSynchronizationObject]];
+
[[Category:Kernel interrupt events]]
 +
class [[KEvent]] extends [[KSynchronizationObject]] and [[KUserBindableInterruptEvent]];
  
 
Size : 0x28 bytes
 
Size : 0x28 bytes
Line 31: Line 32:
 
|-
 
|-
 
| 0x14
 
| 0x14
| [[KSchedulableInterruptEvent|KEventInterruptEvent]]
+
| [[KUserBindableInterruptEvent]]
| Interrupt event
+
| Interrupt event (*this)
|-
 
| 0x1C
 
| u32
 
| Interrupt number this event is associated with
 
 
|-
 
|-
 
| 0x20
 
| 0x20
Line 55: Line 52:
 
|-
 
|-
 
| 0x24
 
| 0x24
| KProcess*
+
| [[KProcess]] *
 
| Owner
 
| Owner
 
|-
 
|-
 
|}
 
|}

Latest revision as of 15:39, 10 December 2016

class KEvent extends KSynchronizationObject and KUserBindableInterruptEvent;

Size : 0x28 bytes

Offset Type Description
0x0 u32 Pointer to vtable
0x4 u32 Reference count
0x8 u32 Count of KThreads that sync with this object - number of nodes in the linked list below
0xC KLinkedListNode* Pointer to first KLinkedListNode in node list of KThreads that sync with this object
0x10 KLinkedListNode* Pointer to last KLinkedListNode in node list of KThreads that sync with this object
0x14 KUserBindableInterruptEvent Interrupt event (*this)
0x20 bool Event is signaled
0x21 bool Manual clear
0x22 u8 Reset type
0x23 u8 Unused, alignment
0x24 KProcess * Owner