diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/memory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 73c0bf4ad..b7fb3b9ed 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -141,9 +141,9 @@ PageTable* GetCurrentPageTable(); | |||
| 141 | 141 | ||
| 142 | /// Determines if the given VAddr is valid for the specified process. | 142 | /// Determines if the given VAddr is valid for the specified process. |
| 143 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); | 143 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); |
| 144 | bool IsValidVirtualAddress(VAddr addr); | 144 | bool IsValidVirtualAddress(VAddr vaddr); |
| 145 | /// Determines if the given VAddr is a kernel address | 145 | /// Determines if the given VAddr is a kernel address |
| 146 | bool IsKernelVirtualAddress(VAddr addr); | 146 | bool IsKernelVirtualAddress(VAddr vaddr); |
| 147 | 147 | ||
| 148 | u8 Read8(VAddr addr); | 148 | u8 Read8(VAddr addr); |
| 149 | u16 Read16(VAddr addr); | 149 | u16 Read16(VAddr addr); |
| @@ -163,9 +163,9 @@ void WriteBlock(VAddr dest_addr, const void* src_buffer, size_t size); | |||
| 163 | void ZeroBlock(const Kernel::Process& process, VAddr dest_addr, size_t size); | 163 | void ZeroBlock(const Kernel::Process& process, VAddr dest_addr, size_t size); |
| 164 | void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size); | 164 | void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size); |
| 165 | 165 | ||
| 166 | u8* GetPointer(VAddr virtual_address); | 166 | u8* GetPointer(VAddr vaddr); |
| 167 | 167 | ||
| 168 | std::string ReadCString(VAddr virtual_address, std::size_t max_length); | 168 | std::string ReadCString(VAddr vaddr, std::size_t max_length); |
| 169 | 169 | ||
| 170 | enum class FlushMode { | 170 | enum class FlushMode { |
| 171 | /// Write back modified surfaces to RAM | 171 | /// Write back modified surfaces to RAM |
| @@ -179,7 +179,7 @@ enum class FlushMode { | |||
| 179 | /** | 179 | /** |
| 180 | * Mark each page touching the region as cached. | 180 | * Mark each page touching the region as cached. |
| 181 | */ | 181 | */ |
| 182 | void RasterizerMarkRegionCached(Tegra::GPUVAddr start, u64 size, bool cached); | 182 | void RasterizerMarkRegionCached(Tegra::GPUVAddr gpu_addr, u64 size, bool cached); |
| 183 | 183 | ||
| 184 | /** | 184 | /** |
| 185 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual | 185 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual |