Kernel: Allow pinning multiple memory regions

One port allocated memory page by page and did a big write on the final
multi-region buffer. Now we allow this!
This commit is contained in:
2026-08-25 15:33:56 +03:00
parent 645150039a
commit 59077f0f72
2 changed files with 89 additions and 91 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ namespace Kernel
BAN::ErrorOr<FileParent> find_parent_file(int fd, const char* path, int flags) const;
BAN::ErrorOr<VirtualFileSystem::File> find_relative_parent(int fd, const char* path) const;
BAN::ErrorOr<MemoryRegion*> validate_and_pin_pointer_access(const void*, size_t, bool needs_write);
BAN::ErrorOr<void> validate_and_pin_pointer_access(const void*, size_t, bool needs_write, BAN::Vector<MemoryRegion*>&);
uint64_t signal_pending_mask() const
{