summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/memory.h10
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.
143bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); 143bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr);
144bool IsValidVirtualAddress(VAddr addr); 144bool IsValidVirtualAddress(VAddr vaddr);
145/// Determines if the given VAddr is a kernel address 145/// Determines if the given VAddr is a kernel address
146bool IsKernelVirtualAddress(VAddr addr); 146bool IsKernelVirtualAddress(VAddr vaddr);
147 147
148u8 Read8(VAddr addr); 148u8 Read8(VAddr addr);
149u16 Read16(VAddr addr); 149u16 Read16(VAddr addr);
@@ -163,9 +163,9 @@ void WriteBlock(VAddr dest_addr, const void* src_buffer, size_t size);
163void ZeroBlock(const Kernel::Process& process, VAddr dest_addr, size_t size); 163void ZeroBlock(const Kernel::Process& process, VAddr dest_addr, size_t size);
164void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size); 164void CopyBlock(VAddr dest_addr, VAddr src_addr, size_t size);
165 165
166u8* GetPointer(VAddr virtual_address); 166u8* GetPointer(VAddr vaddr);
167 167
168std::string ReadCString(VAddr virtual_address, std::size_t max_length); 168std::string ReadCString(VAddr vaddr, std::size_t max_length);
169 169
170enum class FlushMode { 170enum 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 */
182void RasterizerMarkRegionCached(Tegra::GPUVAddr start, u64 size, bool cached); 182void 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