#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... | |
|
|
Interrupts can be disabled (IntOff) or enabled (IntOn).
Definition at line 43 of file interrupt.h. |
|
|
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.
Definition at line 53 of file interrupt.h. |
|
|
Nachos can be running kernel code (SystemMode), user code (UserMode), or there can be no runnable thread, because the ready list is empty (IdleMode).
Definition at line 48 of file interrupt.h. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001