Comments + Coding-Style fixed.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1461 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -72,7 +72,7 @@ BochsController::BochsController()
|
|||||||
|
|
||||||
BochsController::~BochsController()
|
BochsController::~BochsController()
|
||||||
{
|
{
|
||||||
for(RegisterManager::iterator it = m_Regs->begin(); it != m_Regs->end(); it++)
|
for (RegisterManager::iterator it = m_Regs->begin(); it != m_Regs->end(); it++)
|
||||||
delete (*it); // free the memory, allocated in the constructor
|
delete (*it); // free the memory, allocated in the constructor
|
||||||
m_Regs->clear();
|
m_Regs->clear();
|
||||||
delete m_Regs;
|
delete m_Regs;
|
||||||
|
|||||||
@ -74,7 +74,7 @@ enum GPRegisterId {
|
|||||||
RID_R8, RID_R9, RID_R10, RID_R11, RID_R12, RID_R13, RID_R14, RID_R15,
|
RID_R8, RID_R9, RID_R10, RID_R11, RID_R12, RID_R13, RID_R14, RID_R15,
|
||||||
#else // 32 bit register id's:
|
#else // 32 bit register id's:
|
||||||
RID_EAX = 0, RID_ECX, RID_EDX, RID_EBX, RID_ESP, RID_EBP, RID_ESI, RID_EDI,
|
RID_EAX = 0, RID_ECX, RID_EDX, RID_EBX, RID_ESP, RID_EBP, RID_ESI, RID_EDI,
|
||||||
#endif
|
#endif // common register id's (independent of the current register width):
|
||||||
RID_CAX = 0, RID_CCX, RID_CDX, RID_CBX, RID_CSP, RID_CBP, RID_CSI, RID_CDI,
|
RID_CAX = 0, RID_CCX, RID_CDX, RID_CBX, RID_CSP, RID_CBP, RID_CSI, RID_CDI,
|
||||||
RID_LAST_GP_ID
|
RID_LAST_GP_ID
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,12 +3,11 @@
|
|||||||
|
|
||||||
#include "efw/ExperimentFlow.hpp"
|
#include "efw/ExperimentFlow.hpp"
|
||||||
|
|
||||||
class HSCSimpleExperiment : public fail::ExperimentFlow
|
class HSCSimpleExperiment : public fail::ExperimentFlow {
|
||||||
{
|
public:
|
||||||
public:
|
HSCSimpleExperiment() { }
|
||||||
HSCSimpleExperiment() { }
|
|
||||||
|
bool run();
|
||||||
bool run();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __HSC_SIMPLE_EXPERIMENT_HPP__
|
#endif // __HSC_SIMPLE_EXPERIMENT_HPP__
|
||||||
|
|||||||
Reference in New Issue
Block a user