#include <interrupt.h>
Public Member Functions | |
Interrupt () | |
~Interrupt () | |
IntStatus | SetLevel (IntStatus level) |
void | Enable () |
IntStatus | getLevel () |
void | Idle () |
void | Halt () |
void | YieldOnReturn () |
MachineStatus | getStatus () |
void | setStatus (MachineStatus st) |
void | DumpState () |
void | Schedule (VoidFunctionPtr handler, int arg, int when, IntType type) |
void | OneTick () |
Public Attributes | |
IntStatus | level |
|
Definition at line 67 of file interrupt.cc. References FALSE, IntOff, level, and SystemMode.
|
|
Definition at line 81 of file interrupt.cc. References List::IsEmpty(), and List::Remove().
|
|
Definition at line 372 of file interrupt.cc. References level, List::Mapcar(), stats, and Statistics::totalTicks. Referenced by Machine::Debugger().
|
|
Definition at line 149 of file interrupt.cc. References IntOn, and SetLevel(). Referenced by Initialize(), and schedule().
|
|
Definition at line 86 of file interrupt.h. References IntStatus.
|
|
Definition at line 98 of file interrupt.h. References MachineStatus. Referenced by PollFile().
|
|
Definition at line 255 of file interrupt.cc. References Cleanup(), Statistics::Print(), and stats. Referenced by Idle(), and main().
|
|
Definition at line 225 of file interrupt.cc. References DEBUG(), FALSE, Halt(), IdleMode, SystemMode, and TRUE. Referenced by Thread::Suspend().
|
|
Definition at line 163 of file interrupt.cc. References currentThread, DEBUG(), FALSE, IntOff, IntOn, MachineStatus, stats, SystemMode, SystemTick, Statistics::systemTicks, Statistics::totalTicks, UserTick, Statistics::userTicks, and Thread::Yield(). Referenced by Machine::Run(), and SetLevel().
|
|
Definition at line 278 of file interrupt.cc. References ASSERT, DEBUG(), List::SortedInsert(), stats, Statistics::totalTicks, and VoidFunctionPtr. Referenced by Console::CheckCharAvail(), Network::CheckPktAvail(), Console::Console(), Network::Network(), Console::PutChar(), Disk::ReadRequest(), Network::Send(), Timer::Timer(), Timer::TimerExpired(), and Disk::WriteRequest().
|
|
Definition at line 119 of file interrupt.cc. References ASSERT, FALSE, IntOff, IntOn, IntStatus, level, OneTick(), and timer_mask. Referenced by Enable(), Thread::Finish(), Thread::Fork(), Semaphore::P(), Thread::Sleep(), Thread::UnSleep(), Semaphore::V(), and Thread::Yield().
|
|
Definition at line 99 of file interrupt.h. Referenced by Machine::RaiseException(), and Machine::Run().
|
|
Definition at line 208 of file interrupt.cc. References TRUE. Referenced by Scheduler::timerIntH().
|
|
Definition at line 116 of file interrupt.h. Referenced by DumpState(), Interrupt(), SetLevel(), and Scheduler::timerIntH(). |