diff options
| author | bunnei <ericbunnie@gmail.com> | 2014-04-18 17:52:49 -0400 |
|---|---|---|
| committer | bunnei <ericbunnie@gmail.com> | 2014-04-18 17:52:49 -0400 |
| commit | 958bca606e80110e05d7c142dda3097fddc96503 (patch) | |
| tree | 576917751444b4dfdb476d040b4e075bde431b7b /src/core/arm/arm_interface.h | |
| parent | 68a8594d041c416301feeb43bb9f1c41d681b795 (diff) | |
| parent | 70c2cce963264678b5ba5b6aa17c2653bf459e61 (diff) | |
Merge branch 'hle-interface'
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index dafde8368..eee4726db 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -43,6 +43,13 @@ public: virtual u32 GetReg(int index) const = 0; /** + * Set an ARM register + * @param index Register index (0-15) + * @param value Value to set register to + */ + virtual void SetReg(int index, u32 value) = 0; + + /** * Get the current CPSR register * @return Returns the value of the CPSR register */ @@ -59,11 +66,13 @@ public: return m_num_instructions; } -private: +protected: /// Execture next instruction virtual void ExecuteInstruction() = 0; +private: + u64 m_num_instructions; ///< Number of instructions executed DISALLOW_COPY_AND_ASSIGN(ARM_Interface); |
