Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

PendingInterrupt Class Reference

The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate. More...

#include <interrupt.h>

List of all members.

Public Methods

 PendingInterrupt (CallBackObj *callOnInt, int time, IntType kind)
 initialize an interrupt that will occur in the future. More...


Public Attributes

CallBackObjcallOnInterrupt
 The object (in the hardware device emulator) to call when the interrupt occurs. More...

int when
 When the interrupt is supposed to fire. More...

IntType type
 for debugging. More...


Detailed Description

The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate.

Definition at line 60 of file interrupt.h.


Constructor & Destructor Documentation

PendingInterrupt::PendingInterrupt ( CallBackObj * callOnInt,
int time,
IntType kind )
 

initialize an interrupt that will occur in the future.

PendingInterrupt::PendingInterrupt Initialize a hardware device interrupt that is to be scheduled to occur in the near future.

"callOnInt" is the object to call when the interrupt occurs

"time" is when (in simulated time) the interrupt is to occur

"kind" is the hardware device that generated the interrupt

Definition at line 46 of file interrupt.cc.


Member Data Documentation

CallBackObj * PendingInterrupt::callOnInterrupt
 

The object (in the hardware device emulator) to call when the interrupt occurs.

Definition at line 66 of file interrupt.h.

IntType PendingInterrupt::type
 

for debugging.

Definition at line 70 of file interrupt.h.

int PendingInterrupt::when
 

When the interrupt is supposed to fire.

Definition at line 69 of file interrupt.h.


The documentation for this class was generated from the following files:
Generated at Wed Jul 4 11:32:23 2001 for Nachos by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001