StuBS
plugbox.cc File Reference
#include "interrupt/plugbox.h"
#include "debug/assert.h"
#include "device/panic.h"
Include dependency graph for plugbox.cc:

Namespaces

namespace  Plugbox
 Object-oriented abstraction of an device interrupt table.
 

Functions

void Plugbox::assign (Core::Interrupt::Vector vector, Gate *gate)
 Register a Gate object to handle a specific interrupt.
 
GatePlugbox::report (Core::Interrupt::Vector vector)
 Query the Gate object for a specific interrupt.
 

Constants

static const unsigned int Plugbox::size = Core::Interrupt::VECTORS
 
static GatePlugbox::map [size]