comments and coding-style fixed.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1498 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-08-16 14:26:11 +00:00
parent 7deb9eda0f
commit 9a23dbbb42
5 changed files with 17 additions and 15 deletions

View File

@ -28,7 +28,7 @@ class MemoryManager;
* This class manages (1..N) experiments and provides access to the underlying
* simulator/debugger system. Experiments can enlist arbritrary listeners
* (Breakpoint, Memory access, Traps, etc.). The \c SimulatorController then
* activates the specific experiment There are further methods to read/write
* activates the specific experiment. There are further methods to read/write
* registers and memory, and control the SUT (save/restore/reset).
*/
class SimulatorController {
@ -160,7 +160,7 @@ public:
* Returns the (constant) initialized memory manager.
* @return a reference to the memory manager
*/
MemoryManager& getMemoryManager() { return (*m_Mem); }
MemoryManager& getMemoryManager() { return *m_Mem; }
const MemoryManager& getMemoryManager() const { return *m_Mem; }
/**
* Sets the memory manager.