git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@2084 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
28 lines
571 B
C++
28 lines
571 B
C++
#ifndef __ARM_CPU_STATE_HPP__
|
|
#define __ARM_CPU_STATE_HPP__
|
|
|
|
#include "../CPU.hpp"
|
|
#include "../CPUState.hpp"
|
|
|
|
namespace fail {
|
|
|
|
/**
|
|
* \class ArmCPUState
|
|
* This class represents the current state of a ARM based CPU. A final CPU class
|
|
* need to implement \c ArmCPUState and \c ArmArchitecture.
|
|
*/
|
|
class ArmCPUState : public CPUState {
|
|
public:
|
|
/**
|
|
* Returns the current Link Register.
|
|
* @return the current lr
|
|
*/
|
|
virtual address_t getLinkRegister() const = 0;
|
|
};
|
|
|
|
// TODO: Enum for misc registers
|
|
|
|
} // end-of-namespace: fail
|
|
|
|
#endif // __ARM_CPU_STATE_HPP__
|