summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/MmapRegion.h
diff options
context:
space:
mode:
authorHendiadyoin1 <leon2002.la@gmail.com>2021-04-10 23:29:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-23 22:50:53 +0200
commitf1957bb86bd0535025bb9757b0b9f18a638e8d38 (patch)
tree5b91acaa1985dd4174e5409c2b4ad0dae99294d1 /Userland/DevTools/UserspaceEmulator/MmapRegion.h
parenta99812633bc0791c4f7bda99fc24240f9062ad55 (diff)
downloadserenity-f1957bb86bd0535025bb9757b0b9f18a638e8d38.zip
UE+LibX86: Support bigger reads and writes
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/MmapRegion.h')
-rw-r--r--Userland/DevTools/UserspaceEmulator/MmapRegion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/MmapRegion.h b/Userland/DevTools/UserspaceEmulator/MmapRegion.h
index 366bd5b978..c535c80aea 100644
--- a/Userland/DevTools/UserspaceEmulator/MmapRegion.h
+++ b/Userland/DevTools/UserspaceEmulator/MmapRegion.h
@@ -24,11 +24,15 @@ public:
virtual ValueWithShadow<u16> read16(u32 offset) override;
virtual ValueWithShadow<u32> read32(u32 offset) override;
virtual ValueWithShadow<u64> read64(u32 offset) override;
+ virtual ValueWithShadow<u128> read128(u32 offset) override;
+ virtual ValueWithShadow<u256> read256(u32 offset) override;
virtual void write8(u32 offset, ValueWithShadow<u8>) override;
virtual void write16(u32 offset, ValueWithShadow<u16>) override;
virtual void write32(u32 offset, ValueWithShadow<u32>) override;
virtual void write64(u32 offset, ValueWithShadow<u64>) override;
+ virtual void write128(u32 offset, ValueWithShadow<u128>) override;
+ virtual void write256(u32 offset, ValueWithShadow<u256>) override;
virtual u8* data() override { return m_data; }
virtual u8* shadow_data() override { return m_shadow_data; }