summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2022-09-20 21:54:07 +0200
committerAndreas Kling <kling@serenityos.org>2022-10-01 14:09:01 +0200
commit1b60126d93096624e765dcd491002fab53ce59c0 (patch)
treeb850f777256494a8f0f3c3b0b6bb761a43aef7be
parent240fb93cf1295f30510deb522a6b86416cb20816 (diff)
downloadserenity-1b60126d93096624e765dcd491002fab53ce59c0.zip
Kernel/aarch64: Stub Inode::{read,write}_bytes
Recent changes caused the build to fail for aarch64, with these functions stubbed it builds again.
-rw-r--r--Kernel/Arch/aarch64/Dummy.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Kernel/Arch/aarch64/Dummy.cpp b/Kernel/Arch/aarch64/Dummy.cpp
index a5ff1870de..63fef4d865 100644
--- a/Kernel/Arch/aarch64/Dummy.cpp
+++ b/Kernel/Arch/aarch64/Dummy.cpp
@@ -97,6 +97,18 @@ ErrorOr<void> Inode::set_shared_vmobject(Memory::SharedInodeVMObject&)
return {};
}
+ErrorOr<size_t> Inode::read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const
+{
+ VERIFY_NOT_REACHED();
+ return 0;
+}
+
+ErrorOr<size_t> Inode::write_bytes(off_t, size_t, UserOrKernelBuffer const&, OpenFileDescription*)
+{
+ VERIFY_NOT_REACHED();
+ return 0;
+}
+
}
// UserOrKernelBuffer.cpp