summaryrefslogtreecommitdiff
path: root/Kernel/Devices/MemoryDevice.cpp
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-03-18 22:57:25 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-19 09:15:19 +0100
commit6698fd84fff34f9fb2dec78c20519b5c89b2c8f9 (patch)
tree67631de5cb5b4a950d8bb9a244bf446e674ce151 /Kernel/Devices/MemoryDevice.cpp
parent0d8c9024eec12d57270cca1cf6bfc7d03c0ca229 (diff)
downloadserenity-6698fd84fff34f9fb2dec78c20519b5c89b2c8f9.zip
Kernel: Refactor storage stack with u64 as mmap offset
Diffstat (limited to 'Kernel/Devices/MemoryDevice.cpp')
-rw-r--r--Kernel/Devices/MemoryDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/MemoryDevice.cpp b/Kernel/Devices/MemoryDevice.cpp
index f82b3d5d5f..3e53c90f3c 100644
--- a/Kernel/Devices/MemoryDevice.cpp
+++ b/Kernel/Devices/MemoryDevice.cpp
@@ -52,7 +52,7 @@ void MemoryDevice::did_seek(FileDescription&, off_t)
TODO();
}
-KResultOr<Region*> MemoryDevice::mmap(Process& process, FileDescription&, const Range& range, size_t offset, int prot, bool shared)
+KResultOr<Region*> MemoryDevice::mmap(Process& process, FileDescription&, const Range& range, u64 offset, int prot, bool shared)
{
auto viewed_address = PhysicalAddress(offset);