summaryrefslogtreecommitdiff
path: root/Userland/DevTools/UserspaceEmulator/SoftMMU.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-17 08:51:41 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-17 09:07:32 +0100
commitbf0719092fc5769f568c87671172b5a43d17c038 (patch)
treec4367db04c024fc0016e4ddc2502537c2e28e883 /Userland/DevTools/UserspaceEmulator/SoftMMU.h
parent2cd16778b5aab88ba90a70aa438febcd4b619d1e (diff)
downloadserenity-bf0719092fc5769f568c87671172b5a43d17c038.zip
Kernel+Userland: Remove shared buffers (shbufs)
All users of this mechanism have been switched to anonymous files and passing file descriptors with sendfd()/recvfd(). Shbufs got us where we are today, but it's time we say good-bye to them and welcome a much more idiomatic replacement. :^)
Diffstat (limited to 'Userland/DevTools/UserspaceEmulator/SoftMMU.h')
-rw-r--r--Userland/DevTools/UserspaceEmulator/SoftMMU.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/SoftMMU.h b/Userland/DevTools/UserspaceEmulator/SoftMMU.h
index 33351ff57b..8490a3e7e2 100644
--- a/Userland/DevTools/UserspaceEmulator/SoftMMU.h
+++ b/Userland/DevTools/UserspaceEmulator/SoftMMU.h
@@ -37,7 +37,6 @@
namespace UserspaceEmulator {
class Emulator;
-class SharedBufferRegion;
class SoftMMU {
public:
@@ -74,8 +73,6 @@ public:
void copy_from_vm(void* destination, const FlatPtr source, size_t);
ByteBuffer copy_buffer_from_vm(const FlatPtr source, size_t);
- SharedBufferRegion* shbuf_region(int shbuf_id);
-
template<typename Callback>
void for_each_region(Callback callback)
{
@@ -96,7 +93,6 @@ private:
OwnPtr<Region> m_tls_region;
NonnullOwnPtrVector<Region> m_regions;
- HashMap<int, Region*> m_shbuf_regions;
};
}