RAII object for disabling, then restoring RAM execute never mode Usage: More...
#include <ScopedRamExecutionLock.h>
Public Member Functions | |
ScopedRamExecutionLock () | |
Allow execution from RAM. More... | |
~ScopedRamExecutionLock () | |
Restore previous execution from RAM settings. More... | |
RAII object for disabling, then restoring RAM execute never mode Usage:
Definition at line 41 of file ScopedRamExecutionLock.h.
Allow execution from RAM.
Increment the execute never lock to ensure code can be executed from RAM. This class uses RAII to allow execution from ram while it is in scope.
Definition at line 51 of file ScopedRamExecutionLock.h.
Restore previous execution from RAM settings.
Decrement the execute never lock to return execute from RAM to its prior state.
Definition at line 62 of file ScopedRamExecutionLock.h.