Skip to content

Commit 1b60126

Browse files
FireFox317awesomekling
authored andcommitted
Kernel/aarch64: Stub Inode::{read,write}_bytes
Recent changes caused the build to fail for aarch64, with these functions stubbed it builds again.
1 parent 240fb93 commit 1b60126

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Kernel/Arch/aarch64/Dummy.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,18 @@ ErrorOr<void> Inode::set_shared_vmobject(Memory::SharedInodeVMObject&)
9797
return {};
9898
}
9999

100+
ErrorOr<size_t> Inode::read_bytes(off_t, size_t, UserOrKernelBuffer&, OpenFileDescription*) const
101+
{
102+
VERIFY_NOT_REACHED();
103+
return 0;
104+
}
105+
106+
ErrorOr<size_t> Inode::write_bytes(off_t, size_t, UserOrKernelBuffer const&, OpenFileDescription*)
107+
{
108+
VERIFY_NOT_REACHED();
109+
return 0;
110+
}
111+
100112
}
101113

102114
// UserOrKernelBuffer.cpp

0 commit comments

Comments
 (0)