KTimeableInterruptEvent: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 4: Line 4:
Size : 0x10 bytes
Size : 0x10 bytes


Abstract base class for KThreadInterruptEvent and KTimerInterruptEvent (which do not define any additional attributes nor methods).
Abstract class used as base for [[KThread]], [[KTimer]], etc.
Instances of these classes are kept track of by the [[KTimerAndWDTManager]].
Instances of these classes are kept track of by the [[KTimerAndWDTManager]].
   
   
Line 20: Line 20:
| [[KSynchronizationInterruptEvent]] *
| [[KSynchronizationInterruptEvent]] *
| Next interrupt event (associated with the current one). The linked list represented by this attribute can contain cycles.
| 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
For [[KThread]] instances, this is usually a [[KTimer]], and vice-versa
|-
|-
| 0x8
| 0x8

Revision as of 16:14, 10 December 2016

class KTimeableInterruptEvent extends KSynchronizationInterruptEvent

Size : 0x10 bytes

Abstract class used as base for KThread, KTimer, etc. 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 KThread instances, this is usually a KTimer, and vice-versa

0x8 s64 Desired time point (relative to the CPU power-on) in CPU ticks for KTimerAndWDTManager when it's handling its list of KTimableInterruptEvent instances