abort() on access memory More...
#include <specialmem.h>
Public Member Functions | |
RWAbort (TraceValueRegister *registry, const std::string &tracename="") | |
Protected Member Functions | |
unsigned char | get () const |
void | set (unsigned char) |
abort() on access memory
Any access to this memory will instantly stop simulavr.
Definition at line 87 of file specialmem.h.
RWAbort::RWAbort | ( | TraceValueRegister * | registry, | |
const std::string & | tracename = "" | |||
) |
Definition at line 90 of file specialmem.cpp.
unsigned char RWAbort::get | ( | ) | const [protected, virtual] |
This function as the oppposite to get() is expected to read the real byte.
Implements RWMemoryMember.
Definition at line 99 of file specialmem.cpp.
References SystemConsoleHandler::AbortApplication(), and sysConHandler.
void RWAbort::set | ( | unsigned | nv | ) | [protected, virtual] |
This function is the function which will be called by the above access operators and is expected to do the real work when writing a byte.
Implements RWMemoryMember.
Definition at line 94 of file specialmem.cpp.
References SystemConsoleHandler::AbortApplication(), and sysConHandler.