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

interrupt.h File Reference

#include "copyright.h"
#include "list.h"
#include "callback.h"

Go to the source code of this file.

Compounds

class  Interrupt
 The following class defines the data structures for the simulation of hardware interrupts. We record whether interrupts are enabled or disabled, and any hardware interrupts that are scheduled to occur in the future. More...

class  PendingInterrupt
 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...


Enumerations

enum  IntStatus { IntOff, IntOn }
 Interrupts can be disabled (IntOff) or enabled (IntOn). More...

enum  MachineStatus { IdleMode, SystemMode, UserMode }
 Nachos can be running kernel code (SystemMode), user code (UserMode), or there can be no runnable thread, because the ready list is empty (IdleMode). More...

enum  IntType {
  TimerInt, DiskInt, ConsoleWriteInt, ConsoleReadInt,
  ElevatorInt, NetworkSendInt, NetworkRecvInt
}
 IntType records which hardware device generated an interrupt. In Nachos, we support a hardware timer device, a disk, a console display and keyboard, and a network. More...


Enumeration Type Documentation

enum IntStatus
 

Interrupts can be disabled (IntOff) or enabled (IntOn).

Enumeration values:
IntOff  
IntOn  

Definition at line 43 of file interrupt.h.

enum IntType
 

IntType records which hardware device generated an interrupt. In Nachos, we support a hardware timer device, a disk, a console display and keyboard, and a network.

Enumeration values:
TimerInt  
DiskInt  
ConsoleWriteInt  
ConsoleReadInt  
ElevatorInt  
NetworkSendInt  
NetworkRecvInt  

Definition at line 53 of file interrupt.h.

enum MachineStatus
 

Nachos can be running kernel code (SystemMode), user code (UserMode), or there can be no runnable thread, because the ready list is empty (IdleMode).

Enumeration values:
IdleMode  
SystemMode  
UserMode  

Definition at line 48 of file interrupt.h.


Generated at Wed Jul 4 11:32:22 2001 for Nachos by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001