1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:38:12 +00:00

Kernel: Refactor storage stack with u64 as mmap offset

This commit is contained in:
Jean-Baptiste Boric 2021-03-18 22:57:25 +01:00 committed by Andreas Kling
parent 0d8c9024ee
commit 6698fd84ff
15 changed files with 21 additions and 21 deletions

View file

@ -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);