diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-04-16 10:14:18 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-21 18:12:36 +0200 |
commit | 3873b36db333547152280b741e85aa54c69d8199 (patch) | |
tree | ff2e3d97d305ca49fc0e260563d27c716807c1fa /src/core/mmio.h | |
parent | Memory: IsValidVirtualAddress/IsValidPhysicalAddress (diff) | |
download | yuzu-3873b36db333547152280b741e85aa54c69d8199.tar yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.gz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.bz2 yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.lz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.xz yuzu-3873b36db333547152280b741e85aa54c69d8199.tar.zst yuzu-3873b36db333547152280b741e85aa54c69d8199.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/mmio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/mmio.h b/src/core/mmio.h index cb644f51b..35b73b061 100644 --- a/src/core/mmio.h +++ b/src/core/mmio.h @@ -25,10 +25,14 @@ public: virtual u32 Read32(VAddr addr) = 0; virtual u64 Read64(VAddr addr) = 0; + virtual bool ReadBlock(VAddr src_addr, u8* dest_buffer, size_t size) = 0; + virtual void Write8(VAddr addr, u8 data) = 0; virtual void Write16(VAddr addr, u16 data) = 0; virtual void Write32(VAddr addr, u32 data) = 0; virtual void Write64(VAddr addr, u64 data) = 0; + + virtual bool WriteBlock(VAddr dest_addr, const u8* src_buffer, size_t size) = 0; }; using MMIORegionPointer = std::shared_ptr<MMIORegion>; |