summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 8913a9da4..97750f851 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -294,6 +294,9 @@ public:
294 void ReadBlock(const Kernel::Process& process, VAddr src_addr, void* dest_buffer, 294 void ReadBlock(const Kernel::Process& process, VAddr src_addr, void* dest_buffer,
295 std::size_t size); 295 std::size_t size);
296 296
297 void ReadBlockUnsafe(const Kernel::Process& process, VAddr src_addr, void* dest_buffer,
298 std::size_t size);
299
297 /** 300 /**
298 * Reads a contiguous block of bytes from the current process' address space. 301 * Reads a contiguous block of bytes from the current process' address space.
299 * 302 *
@@ -312,6 +315,8 @@ public:
312 */ 315 */
313 void ReadBlock(VAddr src_addr, void* dest_buffer, std::size_t size); 316 void ReadBlock(VAddr src_addr, void* dest_buffer, std::size_t size);
314 317
318 void ReadBlockUnsafe(VAddr src_addr, void* dest_buffer, std::size_t size);
319
315 /** 320 /**
316 * Writes a range of bytes into a given process' address space at the specified 321 * Writes a range of bytes into a given process' address space at the specified
317 * virtual address. 322 * virtual address.
@@ -335,6 +340,9 @@ public:
335 void WriteBlock(const Kernel::Process& process, VAddr dest_addr, const void* src_buffer, 340 void WriteBlock(const Kernel::Process& process, VAddr dest_addr, const void* src_buffer,
336 std::size_t size); 341 std::size_t size);
337 342
343 void WriteBlockUnsafe(const Kernel::Process& process, VAddr dest_addr, const void* src_buffer,
344 std::size_t size);
345
338 /** 346 /**
339 * Writes a range of bytes into the current process' address space at the specified 347 * Writes a range of bytes into the current process' address space at the specified
340 * virtual address. 348 * virtual address.
@@ -356,6 +364,8 @@ public:
356 */ 364 */
357 void WriteBlock(VAddr dest_addr, const void* src_buffer, std::size_t size); 365 void WriteBlock(VAddr dest_addr, const void* src_buffer, std::size_t size);
358 366
367 void WriteBlockUnsafe(VAddr dest_addr, const void* src_buffer, std::size_t size);
368
359 /** 369 /**
360 * Fills the specified address range within a process' address space with zeroes. 370 * Fills the specified address range within a process' address space with zeroes.
361 * 371 *