From 1092b1bcff7dfd9fbebdf7e45dd5901f48e27989 Mon Sep 17 00:00:00 2001 From: raphaelthegreat <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 10 Jun 2024 12:13:24 +0300 Subject: [PATCH] Fix linux build --- src/core/address_space.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/core/address_space.cpp b/src/core/address_space.cpp index f7a3e465..420ed59a 100644 --- a/src/core/address_space.cpp +++ b/src/core/address_space.cpp @@ -218,21 +218,12 @@ struct AddressSpace::Impl { UNREACHABLE(); } - void* MapUser(VAddr virtual_addr, PAddr phys_addr, size_t size, PosixPageProtection prot) { + void* Map(VAddr virtual_addr, PAddr phys_addr, size_t size, PosixPageProtection prot) { UNREACHABLE(); return nullptr; } - void* MapPrivate(VAddr virtual_addr, size_t size, u64 alignment, PosixPageProtection prot) { - UNREACHABLE(); - return nullptr; - } - - void UnmapUser(VAddr virtual_addr, size_t size) { - UNREACHABLE(); - } - - void UnmapPrivate(VAddr virtual_addr, size_t size) { + void Unmap(VAddr virtual_addr, PAddr phys_addr, size_t size) { UNREACHABLE(); } @@ -242,6 +233,7 @@ struct AddressSpace::Impl { u8* backing_base{}; u8* virtual_base{}; + size_t virtual_size{}; }; #endif