summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/Region.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/Region.h')
-rw-r--r--Userland/DevTools/UserspaceEmulator/Region.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Region.h b/Userland/DevTools/UserspaceEmulator/Region.h
index f33df7cca1..a027ccc553 100644
--- a/Userland/DevTools/UserspaceEmulator/Region.h
+++ b/Userland/DevTools/UserspaceEmulator/Region.h
@@ -10,6 +10,7 @@
#include "ValueWithShadow.h"
#include <AK/TypeCasts.h>
#include <AK/Types.h>
+#include <LibX86/Types.h>
namespace UserspaceEmulator {
@@ -31,11 +32,15 @@ public:
virtual void write16(u32 offset, ValueWithShadow<u16>) = 0;
virtual void write32(u32 offset, ValueWithShadow<u32>) = 0;
virtual void write64(u32 offset, ValueWithShadow<u64>) = 0;
+ virtual void write128(u32 offset, ValueWithShadow<u128>) = 0;
+ virtual void write256(u32 offset, ValueWithShadow<u256>) = 0;
virtual ValueWithShadow<u8> read8(u32 offset) = 0;
virtual ValueWithShadow<u16> read16(u32 offset) = 0;
virtual ValueWithShadow<u32> read32(u32 offset) = 0;
virtual ValueWithShadow<u64> read64(u32 offset) = 0;
+ virtual ValueWithShadow<u128> read128(u32 offset) = 0;
+ virtual ValueWithShadow<u256> read256(u32 offset) = 0;
virtual u8* cacheable_ptr([[maybe_unused]] u32 offset) { return nullptr; }