Fix linux build

This commit is contained in:
raphaelthegreat 2024-06-10 12:13:24 +03:00
parent fc887bf3f5
commit 1092b1bcff
1 changed files with 3 additions and 11 deletions

View File

@ -218,21 +218,12 @@ struct AddressSpace::Impl {
UNREACHABLE(); 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(); UNREACHABLE();
return nullptr; return nullptr;
} }
void* MapPrivate(VAddr virtual_addr, size_t size, u64 alignment, PosixPageProtection prot) { void Unmap(VAddr virtual_addr, PAddr phys_addr, size_t size) {
UNREACHABLE();
return nullptr;
}
void UnmapUser(VAddr virtual_addr, size_t size) {
UNREACHABLE();
}
void UnmapPrivate(VAddr virtual_addr, size_t size) {
UNREACHABLE(); UNREACHABLE();
} }
@ -242,6 +233,7 @@ struct AddressSpace::Impl {
u8* backing_base{}; u8* backing_base{};
u8* virtual_base{}; u8* virtual_base{};
size_t virtual_size{};
}; };
#endif #endif