mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-02 08:22:55 +00:00
Kernel: Refactor storage stack with u64 as mmap offset
This commit is contained in:
parent
0d8c9024ee
commit
6698fd84ff
Notes:
sideshowbarker
2024-07-18 21:14:29 +09:00
Author: https://github.com/boricj
Commit: 6698fd84ff
Pull-request: https://github.com/SerenityOS/serenity/pull/5863
15 changed files with 21 additions and 21 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue