Memory: remove unused VirtualToPhysical

This commit is contained in:
Weiyi Wang 2018-11-13 00:19:16 -05:00
parent 1388a44c41
commit 9e8d149ca7
2 changed files with 0 additions and 45 deletions

View file

@ -6,7 +6,6 @@
#include <array>
#include <cstddef>
#include <optional>
#include <string>
#include <vector>
#include "common/common_types.h"
@ -214,20 +213,6 @@ u8* GetPointer(VAddr vaddr);
std::string ReadCString(VAddr vaddr, std::size_t max_length);
/**
* Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
* address. This should be used by services to translate addresses for use by the hardware.
*/
std::optional<PAddr> TryVirtualToPhysicalAddress(VAddr addr);
/**
* Converts a virtual address inside a region with 1:1 mapping to physical memory to a physical
* address. This should be used by services to translate addresses for use by the hardware.
*
* @deprecated Use TryVirtualToPhysicalAddress(), which reports failure.
*/
PAddr VirtualToPhysicalAddress(VAddr addr);
/**
* Gets a pointer to the memory region beginning at the specified physical address.
*/