added option to set CPSR register to arm_interface

This commit is contained in:
bunnei 2014-05-11 22:14:13 -04:00
parent 6b264518a5
commit ce4d271a53
3 changed files with 20 additions and 0 deletions

View file

@ -55,6 +55,12 @@ public:
*/
virtual u32 GetCPSR() const = 0;
/**
* Set the current CPSR register
* @param cpsr Value to set CPSR to
*/
virtual void SetCPSR(u32 cpsr) = 0;
/**
* Returns the number of clock ticks since the last rese
* @return Returns number of clock ticks