Difference between revisions of "KEvent"

From 3dbrew
Jump to navigation Jump to search
Line 49: Line 49:
 
| bool
 
| bool
 
| Manual clear
 
| Manual clear
 +
|-
 +
| 0x22
 +
| u8
 +
| Reset type
 +
|-
 +
| 0x23
 +
| u8
 +
| Unused
 
|-
 
|-
 
| 0x24
 
| 0x24
Line 54: Line 62:
 
| Process the event belongs to (virtual address)
 
| Process the event belongs to (virtual address)
 
|-
 
|-
 +
|}

Revision as of 05:31, 19 April 2015

class KEvent extends KSynchronizationObject;

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 u32 KInterruptEvent vtable
0x18 u32 Unknown
0x1C u32 Priority
0x20 bool Event is signalled
0x21 bool Manual clear
0x22 u8 Reset type
0x23 u8 Unused
0x24 KProcess* Process the event belongs to (virtual address)