diff options
| author | 2020-03-07 13:27:27 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:35 -0400 | |
| commit | 725bac14044b2645b9ce912d1b1e2c9c2a96818b (patch) | |
| tree | a5eaedf5bc5647f9bde9215097472819bbb9d6ac /src/core/arm/arm_interface.h | |
| parent | Yuzu/Debuggers: Correct Wait Tree for Paused threads. (diff) | |
| download | yuzu-725bac14044b2645b9ce912d1b1e2c9c2a96818b.tar.gz yuzu-725bac14044b2645b9ce912d1b1e2c9c2a96818b.tar.xz yuzu-725bac14044b2645b9ce912d1b1e2c9c2a96818b.zip | |
Scheduler: Remove arm_interface lock and a few corrections.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index be9f3703a..87a1c29cc 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | #include <array> | 7 | #include <array> |
| 8 | #include <vector> | 8 | #include <vector> |
| 9 | #include <mutex> | ||
| 10 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 11 | 10 | ||
| 12 | namespace Common { | 11 | namespace Common { |
| @@ -165,14 +164,6 @@ public: | |||
| 165 | std::string name; | 164 | std::string name; |
| 166 | }; | 165 | }; |
| 167 | 166 | ||
| 168 | void Lock() { | ||
| 169 | guard.lock(); | ||
| 170 | } | ||
| 171 | |||
| 172 | void Unlock() { | ||
| 173 | guard.unlock(); | ||
| 174 | } | ||
| 175 | |||
| 176 | std::vector<BacktraceEntry> GetBacktrace() const; | 167 | std::vector<BacktraceEntry> GetBacktrace() const; |
| 177 | 168 | ||
| 178 | /// fp (= r29) points to the last frame record. | 169 | /// fp (= r29) points to the last frame record. |
| @@ -187,7 +178,6 @@ protected: | |||
| 187 | /// System context that this ARM interface is running under. | 178 | /// System context that this ARM interface is running under. |
| 188 | System& system; | 179 | System& system; |
| 189 | CPUInterruptHandler& interrupt_handler; | 180 | CPUInterruptHandler& interrupt_handler; |
| 190 | std::mutex guard; | ||
| 191 | }; | 181 | }; |
| 192 | 182 | ||
| 193 | } // namespace Core | 183 | } // namespace Core |