TEMU  2
The Terma Emulator
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
temu_IrqClientIface Struct Reference

#include <temu-c/Models/IrqController.h>

Collaboration diagram for temu_IrqClientIface:

Data Fields

void(* ackInterrupt )(void *Obj, uint8_t Irq)
 
void(* updateInterrupts )(void *Obj)
 

Detailed Description

Interface to be defined for classes that uses an IRQ controller object. An IRQ controller may acknowledge to the IRQ controller client, or it may notify the IrqClient that the underlying IRQ controller has been modified and any pending IRQs should be re-issued. Typically, an updateInterrupt call happens if the IRQ registers change in such a way that the IRQ controller does not know the next interrupt to be issued. E.g. On the sparc, the updateInterrupts function will be called on its IRQ controller whenever the ET or PIL field has changed. That is updateInterrupts are called by lazy IRQ controllers.

Definition at line 42 of file IrqController.h.

Field Documentation

void(* temu_IrqClientIface::ackInterrupt)(void *Obj, uint8_t Irq)

Definition at line 43 of file IrqController.h.

void(* temu_IrqClientIface::updateInterrupts)(void *Obj)

Called in case IRQ re-issuing is needed eg. when the IRQ controlling registers have been modified.

Definition at line 46 of file IrqController.h.


The documentation for this struct was generated from the following file: