Difference between revisions of "KEvent"

From 3dbrew
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users 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 29: Line 30:
 
| KLinkedListNode*
 
| KLinkedListNode*
 
| Pointer to last KLinkedListNode in node list of KThreads that sync with this object
 
| 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
 
| 0x21
 
| bool
 
| bool
 
| Manual clear
 
| Manual clear
 +
|-
 +
| 0x22
 +
| u8
 +
| Reset type
 +
|-
 +
| 0x23
 +
| u8
 +
| Unused, alignment
 
|-
 
|-
 
| 0x24
 
| 0x24
| KProcess*
+
| [[KProcess]] *
| Process the event belongs to (virtual address)
+
| Owner
 
|-
 
|-
 +
|}

Latest revision as of 14: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