summaryrefslogtreecommitdiffstats
path: root/src/core/arm/exclusive_monitor.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-15 20:54:40 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:35:50 +0200
commit25565dffd588006aace7530486e71ff318dc5550 (patch)
treee30556e18f3dae60ea6cb8d32b84fbcc42860d24 /src/core/arm/exclusive_monitor.h
parentCPU_Manager: Correct stopping on SingleCore. (diff)
downloadyuzu-25565dffd588006aace7530486e71ff318dc5550.tar
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.gz
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.bz2
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.lz
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.xz
yuzu-25565dffd588006aace7530486e71ff318dc5550.tar.zst
yuzu-25565dffd588006aace7530486e71ff318dc5550.zip
Diffstat (limited to 'src/core/arm/exclusive_monitor.h')
-rw-r--r--src/core/arm/exclusive_monitor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/arm/exclusive_monitor.h b/src/core/arm/exclusive_monitor.h
index 2ee312eee..62f6e6023 100644
--- a/src/core/arm/exclusive_monitor.h
+++ b/src/core/arm/exclusive_monitor.h
@@ -18,11 +18,11 @@ class ExclusiveMonitor {
public:
virtual ~ExclusiveMonitor();
- virtual void SetExclusive8(std::size_t core_index, VAddr addr) = 0;
- virtual void SetExclusive16(std::size_t core_index, VAddr addr) = 0;
- virtual void SetExclusive32(std::size_t core_index, VAddr addr) = 0;
- virtual void SetExclusive64(std::size_t core_index, VAddr addr) = 0;
- virtual void SetExclusive128(std::size_t core_index, VAddr addr) = 0;
+ virtual u8 ExclusiveRead8(std::size_t core_index, VAddr addr) = 0;
+ virtual u16 ExclusiveRead16(std::size_t core_index, VAddr addr) = 0;
+ virtual u32 ExclusiveRead32(std::size_t core_index, VAddr addr) = 0;
+ virtual u64 ExclusiveRead64(std::size_t core_index, VAddr addr) = 0;
+ virtual u128 ExclusiveRead128(std::size_t core_index, VAddr addr) = 0;
virtual void ClearExclusive() = 0;
virtual bool ExclusiveWrite8(std::size_t core_index, VAddr vaddr, u8 value) = 0;