Main Page   Compound List   File List   Compound Members   File Members  

interrupt.cc File Reference

#include "copyright.h"
#include "interrupt.h"
#include "system.h"

Go to the source code of this file.

Functions

void PrintPending (int arg)

Variables

char * intLevelNames [] = { "off", "on"}
char * intTypeNames []


Function Documentation

void PrintPending int    arg [static]
 

Definition at line 345 of file interrupt.cc.

References intTypeNames, PendingInterrupt::type, and PendingInterrupt::when.

Referenced by Interrupt::DumpState.

00346 {
00347     PendingInterrupt *pend = (PendingInterrupt *)arg;
00348 
00349     printf("Interrupt handler %s, scheduled at %d\n", 
00350         intTypeNames[pend->type], pend->when);
00351 }


Variable Documentation

char* intLevelNames[] = { "off", "on"} [static]
 

Definition at line 29 of file interrupt.cc.

Referenced by Interrupt::ChangeLevel, and Interrupt::DumpState.

char* intTypeNames[] [static]
 

Initial value:

 { "timer", "disk", "console write", 
                        "console read", "network send", "network recv"}

Definition at line 30 of file interrupt.cc.

Referenced by Interrupt::CheckIfDue, PrintPending, and Interrupt::Schedule.


Generated on Mon Feb 10 09:54:49 2003 for nachos by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees