Starting support for Lauterbach T32 HW Debugger
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1740 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
45
src/core/sal/t32/T32Register.hpp
Normal file
45
src/core/sal/t32/T32Register.hpp
Normal file
@ -0,0 +1,45 @@
|
||||
#ifndef __T32_REGISTER_HPP__
|
||||
#define __T32_REGISTER_HPP__
|
||||
|
||||
#include "../Register.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <cassert>
|
||||
|
||||
namespace fail {
|
||||
|
||||
/**
|
||||
* \class T32Register
|
||||
* T32-specific implementation of ?? registers. TODO.
|
||||
*/
|
||||
class T32Register : public Register {
|
||||
public:
|
||||
T32Register(unsigned int id, regwidth_t width, regdata_t* link, RegisterType t)
|
||||
: Register(id, t, width) { }
|
||||
regdata_t getData() { return 0; /* TODO */ }
|
||||
void setData(regdata_t data) { /* TODO */ }
|
||||
};
|
||||
|
||||
/**
|
||||
* \class T32RegisterManager
|
||||
* T32-specific implementation of the RegisterManager. TODO.
|
||||
*/
|
||||
class T32RegisterManager : public RegisterManager {
|
||||
public:
|
||||
address_t getInstructionPointer()
|
||||
{
|
||||
return static_cast<address_t>(0); /* TODO */
|
||||
}
|
||||
address_t getStackPointer()
|
||||
{
|
||||
return static_cast<address_t>(0); /* TODO */
|
||||
}
|
||||
address_t getBasePointer()
|
||||
{
|
||||
return static_cast<address_t>(0); /* TODO */
|
||||
}
|
||||
};
|
||||
|
||||
} // end-of-namespace: fail
|
||||
|
||||
#endif // __T32_REGISTER_HPP__
|
||||
Reference in New Issue
Block a user