From 1b60126d93096624e765dcd491002fab53ce59c0 Mon Sep 17 00:00:00 2001 From: Timon Kruiper Date: Tue, 20 Sep 2022 21:54:07 +0200 Subject: [PATCH] Kernel/aarch64: Stub Inode::{read,write}_bytes Recent changes caused the build to fail for aarch64, with these functions stubbed it builds again. --- Kernel/Arch/aarch64/Dummy.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 Inode::set_shared_vmobject(Memory::SharedInodeVMObject&) return {}; } +ErrorOr Inode::read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const +{ + VERIFY_NOT_REACHED(); + return 0; +} + +ErrorOr Inode::write_bytes(off_t, size_t, UserOrKernelBuffer const&, OpenFileDescription*) +{ + VERIFY_NOT_REACHED(); + return 0; +} + } // UserOrKernelBuffer.cpp