diff options
author | bunnei <bunneidev@gmail.com> | 2015-08-13 18:13:25 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-08-13 18:13:25 -0400 |
commit | cebf245504b75469f19d3cc0a6f2f66aefa66947 (patch) | |
tree | 4026f74849517f02575bb34a8d4d35d50daaccfc /src/core/arm/arm_interface.h | |
parent | 6ba619f225399eb7dc66fcab8e2ad7d1c8ab4788 (diff) | |
parent | 132961b14f6f48abe99181153dcaf9e6ed9dcd1b (diff) |
Merge pull request #1027 from lioncash/debugger
debugger: Add the ability to view VFP register contents
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r-- | src/core/arm/arm_interface.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 85ed2c69..5cffe513 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -62,6 +62,34 @@ public: virtual void SetReg(int index, u32 value) = 0; /** + * Gets the value of a VFP register + * @param index Register index (0-31) + * @return Returns the value in the register + */ + virtual u32 GetVFPReg(int index) const = 0; + + /** + * Sets a VFP register to the given value + * @param index Register index (0-31) + * @param value Value to set register to + */ + virtual void SetVFPReg(int index, u32 value) = 0; + + /** + * Gets the current value within a given VFP system register + * @param reg The VFP system register + * @return The value within the VFP system register + */ + virtual u32 GetVFPSystemReg(VFPSystemRegister reg) const = 0; + + /** + * Sets the VFP system register to the given value + * @param reg The VFP system register + * @param value Value to set the VFP system register to + */ + virtual void SetVFPSystemReg(VFPSystemRegister reg, u32 value) = 0; + + /** * Get the current CPSR register * @return Returns the value of the CPSR register */ |