summaryrefslogtreecommitdiff
path: root/Kernel/SharedMemory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/SharedMemory.cpp')
-rw-r--r--Kernel/SharedMemory.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/Kernel/SharedMemory.cpp b/Kernel/SharedMemory.cpp
index c2239624eb..698efbf8db 100644
--- a/Kernel/SharedMemory.cpp
+++ b/Kernel/SharedMemory.cpp
@@ -67,3 +67,24 @@ KResult SharedMemory::truncate(int length)
ASSERT_NOT_REACHED();
return KResult(-ENOTIMPL);
}
+
+String SharedMemory::absolute_path() const
+{
+ return String::format("shm:%u", this);
+}
+
+int SharedMemory::read(Process&, byte* buffer, int buffer_size)
+{
+ UNUSED_PARAM(buffer);
+ UNUSED_PARAM(buffer_size);
+ // FIXME: Implement.
+ ASSERT_NOT_REACHED();
+}
+
+int SharedMemory::write(Process&, const byte* data, int data_size)
+{
+ UNUSED_PARAM(data);
+ UNUSED_PARAM(data_size);
+ // FIXME: Implement.
+ ASSERT_NOT_REACHED();
+}