summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-08-13 18:13:25 -0400
committerGravatar bunnei2015-08-13 18:13:25 -0400
commitcebf245504b75469f19d3cc0a6f2f66aefa66947 (patch)
tree4026f74849517f02575bb34a8d4d35d50daaccfc /src/core/arm/arm_interface.h
parentMerge pull request #1030 from archshift/force-inline (diff)
parentregisters: Support viewing VFP registers (diff)
downloadyuzu-cebf245504b75469f19d3cc0a6f2f66aefa66947.tar.gz
yuzu-cebf245504b75469f19d3cc0a6f2f66aefa66947.tar.xz
yuzu-cebf245504b75469f19d3cc0a6f2f66aefa66947.zip
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.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 85ed2c698..5cffe513c 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -62,6 +62,34 @@ public:
62 virtual void SetReg(int index, u32 value) = 0; 62 virtual void SetReg(int index, u32 value) = 0;
63 63
64 /** 64 /**
65 * Gets the value of a VFP register
66 * @param index Register index (0-31)
67 * @return Returns the value in the register
68 */
69 virtual u32 GetVFPReg(int index) const = 0;
70
71 /**
72 * Sets a VFP register to the given value
73 * @param index Register index (0-31)
74 * @param value Value to set register to
75 */
76 virtual void SetVFPReg(int index, u32 value) = 0;
77
78 /**
79 * Gets the current value within a given VFP system register
80 * @param reg The VFP system register
81 * @return The value within the VFP system register
82 */
83 virtual u32 GetVFPSystemReg(VFPSystemRegister reg) const = 0;
84
85 /**
86 * Sets the VFP system register to the given value
87 * @param reg The VFP system register
88 * @param value Value to set the VFP system register to
89 */
90 virtual void SetVFPSystemReg(VFPSystemRegister reg, u32 value) = 0;
91
92 /**
65 * Get the current CPSR register 93 * Get the current CPSR register
66 * @return Returns the value of the CPSR register 94 * @return Returns the value of the CPSR register
67 */ 95 */