diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-06 13:54:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 14:05:58 +0200 |
commit | cd5faf4e425443730695cb5d2e04906fe8bfb691 (patch) | |
tree | deacbbef0959fc42d5bce3d61a0ea4bdd42dc1c8 /Kernel/FileSystem/AnonymousFile.h | |
parent | 93d98d49769de22695f8cb4c96c5ad6f7ac39d83 (diff) | |
download | serenity-cd5faf4e425443730695cb5d2e04906fe8bfb691.zip |
Kernel: Rename Range => VirtualRange
...and also RangeAllocator => VirtualRangeAllocator.
This clarifies that the ranges we're dealing with are *virtual* memory
ranges and not anything else.
Diffstat (limited to 'Kernel/FileSystem/AnonymousFile.h')
-rw-r--r-- | Kernel/FileSystem/AnonymousFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/FileSystem/AnonymousFile.h b/Kernel/FileSystem/AnonymousFile.h index e6b25fc15e..7b275b4771 100644 --- a/Kernel/FileSystem/AnonymousFile.h +++ b/Kernel/FileSystem/AnonymousFile.h @@ -20,7 +20,7 @@ public: virtual ~AnonymousFile() override; - virtual KResultOr<Memory::Region*> mmap(Process&, FileDescription&, Memory::Range const&, u64 offset, int prot, bool shared) override; + virtual KResultOr<Memory::Region*> mmap(Process&, FileDescription&, Memory::VirtualRange const&, u64 offset, int prot, bool shared) override; private: virtual StringView class_name() const override { return "AnonymousFile"; } |