Difference between revisions of "KTimeableInterruptEvent"

From 3dbrew
Jump to navigation Jump to search
m
Line 5: Line 5:
  
 
Abstract base class for KThreadInterruptEvent and KTimerInterruptEvent (which do not define any additional attributes nor methods).
 
Abstract base class for KThreadInterruptEvent and KTimerInterruptEvent (which do not define any additional attributes nor methods).
 
+
Instances of these classes are kept track of by the [[KTimerAndWDTManager]].
 +
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 23: Line 24:
 
| 0x8
 
| 0x8
 
| s64
 
| s64
| Suspend time for object
+
| Desired time point (relative to the CPU power-on) in CPU ticks
 
|}
 
|}

Revision as of 00:45, 7 December 2016

class KTimeableInterruptEvent extends KSynchronizationInterruptEvent

Size : 0x10 bytes

Abstract base class for KThreadInterruptEvent and KTimerInterruptEvent (which do not define any additional attributes nor methods). Instances of these classes are kept track of by the KTimerAndWDTManager.

Offset Type Description
0x0 void ** Pointer to vtable
0x4 KSynchronizationInterruptEvent * Next interrupt event (associated with the current one). The linked list represented by this attribute can contain cycles.

For KThreadInterruptEvent instances, this is usually a KTimerInterruptEvent, and vice-versa

0x8 s64 Desired time point (relative to the CPU power-on) in CPU ticks