diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 12:56:50 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-07 12:56:50 +0200 |
commit | e42c3b4fd7637225a65d0d61a80365f4118af8fa (patch) | |
tree | e10daa02102afdce4a43579fc6b5fe238f167389 /Kernel/SharedMemory.cpp | |
parent | 0ed89440f149bdeb6693c9ab7aab1f452461bf5e (diff) | |
download | serenity-e42c3b4fd7637225a65d0d61a80365f4118af8fa.zip |
Kernel: Rename LinearAddress => VirtualAddress.
Diffstat (limited to 'Kernel/SharedMemory.cpp')
-rw-r--r-- | Kernel/SharedMemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/SharedMemory.cpp b/Kernel/SharedMemory.cpp index cfd84587db..6100aee70c 100644 --- a/Kernel/SharedMemory.cpp +++ b/Kernel/SharedMemory.cpp @@ -89,9 +89,9 @@ int SharedMemory::write(FileDescription&, const byte* data, int data_size) ASSERT_NOT_REACHED(); } -KResultOr<Region*> SharedMemory::mmap(Process& process, FileDescription&, LinearAddress laddr, size_t offset, size_t size, int prot) +KResultOr<Region*> SharedMemory::mmap(Process& process, FileDescription&, VirtualAddress vaddr, size_t offset, size_t size, int prot) { if (!vmo()) return KResult(-ENODEV); - return process.allocate_region_with_vmo(laddr, size, *vmo(), offset, name(), prot); + return process.allocate_region_with_vmo(vaddr, size, *vmo(), offset, name(), prot); } |