ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
interface to set interrupt bits More...
#include <InterruptVector.h>
Public Member Functions | |
virtual | ~InterruptVector () |
virtual void | setBit (unsigned bit, bool state)=0 |
set the bit of an interrupt line to state (true = raised) More... | |
virtual bool | getBit (unsigned bit) const =0 |
get the bit of an interrupt line More... | |
virtual unsigned | width () const =0 |
number of interrupt bits More... | |
virtual bool | isActive () const |
virtual void | clear () |
sets every bit to false More... | |
Public Attributes | |
bool | consumed_by_interruptlistener_ { false } |
interface to set interrupt bits
Definition at line 69 of file InterruptVector.h.
|
virtual |
Definition at line 57 of file InterruptVector.cpp.
|
virtual |
sets every bit to false
Reimplemented in etiss::MappedInterruptVector< INT >, and etiss::CPUCore::InterruptVectorWrapper.
Definition at line 68 of file InterruptVector.cpp.
References setBit(), and width().
|
pure virtual |
get the bit of an interrupt line
Implemented in etiss::MappedInterruptVector< INT >, and etiss::CPUCore::InterruptVectorWrapper.
Referenced by isActive().
|
virtual |
Reimplemented in etiss::MappedInterruptVector< INT >, and etiss::CPUCore::InterruptVectorWrapper.
Definition at line 59 of file InterruptVector.cpp.
References getBit(), and width().
Referenced by etiss::InterruptHandler::execute().
|
pure virtual |
set the bit of an interrupt line to state (true = raised)
Implemented in etiss::MappedInterruptVector< INT >, and etiss::CPUCore::InterruptVectorWrapper.
Referenced by clear(), and etiss::InterruptHandler::execute().
|
pure virtual |
number of interrupt bits
Implemented in etiss::MappedInterruptVector< INT >, and etiss::CPUCore::InterruptVectorWrapper.
Referenced by clear(), and isActive().
Definition at line 94 of file InterruptVector.h.
Referenced by etiss::InterruptHandler::execute().