summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar Liam2022-06-06 12:56:01 -0400
committerGravatar Liam2022-06-16 13:18:07 -0400
commit208ed712f42cfd277405a22663197dc1c5e84cfe (patch)
tree56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/memory.h
parentMerge pull request #8457 from liamwhite/kprocess-suspend (diff)
downloadyuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.gz
yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.xz
yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.zip
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 58cc27b29..f22c0a2d8 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -446,6 +446,17 @@ public:
446 */ 446 */
447 void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached); 447 void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached);
448 448
449 /**
450 * Marks each page within the specified address range as debug or non-debug.
451 * Debug addresses are not accessible from fastmem pointers.
452 *
453 * @param vaddr The virtual address indicating the start of the address range.
454 * @param size The size of the address range in bytes.
455 * @param debug Whether or not any pages within the address range should be
456 * marked as debug or non-debug.
457 */
458 void MarkRegionDebug(VAddr vaddr, u64 size, bool debug);
459
449private: 460private:
450 Core::System& system; 461 Core::System& system;
451 462