diff options
| author | 2018-07-16 11:24:00 +0100 | |
|---|---|---|
| committer | 2018-07-16 11:24:00 +0100 | |
| commit | 56cc1c11ecad9e7ea2a36fbb74852a7579b53802 (patch) | |
| tree | 67eb03302858cccb8f5cb8ec3d2989fb6149d163 /src/core/arm/arm_interface.h | |
| parent | Merge pull request #669 from lioncash/dynarmic (diff) | |
| download | yuzu-56cc1c11ecad9e7ea2a36fbb74852a7579b53802.tar.gz yuzu-56cc1c11ecad9e7ea2a36fbb74852a7579b53802.tar.xz yuzu-56cc1c11ecad9e7ea2a36fbb74852a7579b53802.zip | |
scheduler: Clear exclusive state when switching contexts
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 32ff3c345..8416e73b0 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -116,6 +116,8 @@ public: | |||
| 116 | */ | 116 | */ |
| 117 | virtual void LoadContext(const ThreadContext& ctx) = 0; | 117 | virtual void LoadContext(const ThreadContext& ctx) = 0; |
| 118 | 118 | ||
| 119 | virtual void ClearExclusiveState() = 0; | ||
| 120 | |||
| 119 | /// Prepare core for thread reschedule (if needed to correctly handle state) | 121 | /// Prepare core for thread reschedule (if needed to correctly handle state) |
| 120 | virtual void PrepareReschedule() = 0; | 122 | virtual void PrepareReschedule() = 0; |
| 121 | }; | 123 | }; |