coding style++, some TODOs added.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1967 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-12-05 12:27:17 +00:00
parent b052c0494b
commit 35753cd075
7 changed files with 23 additions and 32 deletions

View File

@ -1,5 +1,5 @@
#ifndef __CPU_STATE_HPP__
#define __CPU_STATE_HPP__
#define __CPU_STATE_HPP__
#include <cstring>
#include <vector>
@ -11,11 +11,10 @@ namespace fail {
/**
* \class CPUArchitecture
* This is the base class for the CPU state without any architecture specific additions. It contains
* pure virtual functions for e.g. register acces and have to be overridden in the backend
* pure virtual functions for e.g. register access and have to be overridden in the backend
* implementation.
*/
class CPUState
{
class CPUState {
public:
/**
* Gets the content of the passed Register.
@ -57,7 +56,6 @@ public:
* @return \c true if sucessfully removed, \c false otherwise (not found)
*/
bool removeSuppressedInterrupt(unsigned interruptNum);
protected:
std::vector<unsigned> m_SuppressedInterrupts;
};
@ -67,4 +65,4 @@ extern int interrupt_to_fire;
} // end-of-namespace: fail
#endif
#endif // __CPU_STATE_HPP__