pykd/pykd/cpureg.h
SND\kernelnet_cp 44fd2e17cb [0.2.x] added : setProcessorMode routine
git-svn-id: https://pykd.svn.codeplex.com/svn@81227 9b283d60-5439-405e-af05-b73fd8c4d996
2017-11-08 17:42:50 +04:00

45 lines
817 B
C++

#pragma once
#include "variant.h"
namespace pykd {
///////////////////////////////////////////////////////////////////////////////////
class CpuReg : public intBase {
public:
CpuReg( const std::string &regName );
CpuReg( ULONG index );
std::string
name() const {
return m_name;
}
ULONG index() const {
return m_index;
}
virtual BaseTypeVariant getValue();
private:
std::string m_name;
ULONG m_index;
};
///////////////////////////////////////////////////////////////////////////////////
CpuReg getRegByName( const std::string &regName );
CpuReg getRegByIndex( ULONG index );
///////////////////////////////////////////////////////////////////////////////////
}; // end pykd namespace