OVP: save/restore registers using protocol buffer
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1206 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -86,10 +86,22 @@ class OVPCpu {
|
||||
*/
|
||||
virtual void makeCallbackMemory(size_t sizeText, size_t offText, size_t sizeMem, size_t offMem) = 0;
|
||||
|
||||
/**
|
||||
* Saves cpu status in file at given path
|
||||
* @param path path to store file
|
||||
*/
|
||||
virtual void save(const string& path) = 0;
|
||||
|
||||
/**
|
||||
* Restore cpu status from file at given path
|
||||
* @param path path to store file
|
||||
*/
|
||||
virtual void restore(const string& path) = 0;
|
||||
/**
|
||||
* Returns the private icmProcessorObject pointer needed for some OVP action
|
||||
* @return icmProcessorObject
|
||||
*/
|
||||
|
||||
icmProcessorObject *getProcessor() {
|
||||
return cpu;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user