diff options
| author | 2014-05-11 22:14:13 -0400 | |
|---|---|---|
| committer | 2014-05-11 22:14:13 -0400 | |
| commit | ce4d271a53e79814f66a46bd69a8970ea3849ee9 (patch) | |
| tree | aca31760727d3ab5bd2d7f28e2e0a3c743640b2a /src/core/arm/arm_interface.h | |
| parent | added initial kernel/thread modules (diff) | |
| download | yuzu-ce4d271a53e79814f66a46bd69a8970ea3849ee9.tar.gz yuzu-ce4d271a53e79814f66a46bd69a8970ea3849ee9.tar.xz yuzu-ce4d271a53e79814f66a46bd69a8970ea3849ee9.zip | |
added option to set CPSR register to arm_interface
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 4dfe0570b..602c91e30 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -56,6 +56,12 @@ public: | |||
| 56 | virtual u32 GetCPSR() const = 0; | 56 | virtual u32 GetCPSR() const = 0; |
| 57 | 57 | ||
| 58 | /** | 58 | /** |
| 59 | * Set the current CPSR register | ||
| 60 | * @param cpsr Value to set CPSR to | ||
| 61 | */ | ||
| 62 | virtual void SetCPSR(u32 cpsr) = 0; | ||
| 63 | |||
| 64 | /** | ||
| 59 | * Returns the number of clock ticks since the last rese | 65 | * Returns the number of clock ticks since the last rese |
| 60 | * @return Returns number of clock ticks | 66 | * @return Returns number of clock ticks |
| 61 | */ | 67 | */ |