Memory: remove IsValidVirtualAddress with current process

This commit is contained in:
Weiyi Wang 2018-11-17 14:31:00 -05:00
parent 36cf104a02
commit 7308b8d294
4 changed files with 7 additions and 10 deletions

View file

@ -212,10 +212,6 @@ bool IsValidVirtualAddress(const Kernel::Process& process, const VAddr vaddr) {
return false;
}
bool IsValidVirtualAddress(const VAddr vaddr) {
return IsValidVirtualAddress(*Core::System::GetInstance().Kernel().GetCurrentProcess(), vaddr);
}
bool IsValidPhysicalAddress(const PAddr paddr) {
return GetPhysicalPointer(paddr) != nullptr;
}