summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
authorGravatar MerryMage2016-04-16 08:46:11 +0100
committerGravatar Subv2016-05-21 11:12:35 -0500
commitc084fc824cf4e076bb83e41af64f5cfaa9204dcb (patch)
tree056ee19984854e14b62d7fb6f14ff9c4d11c97b0 /src/core/memory.h
parentAppveyor: Restore working directory after test_script (#1835) (diff)
downloadyuzu-c084fc824cf4e076bb83e41af64f5cfaa9204dcb.tar.gz
yuzu-c084fc824cf4e076bb83e41af64f5cfaa9204dcb.tar.xz
yuzu-c084fc824cf4e076bb83e41af64f5cfaa9204dcb.zip
Memory: IsValidVirtualAddress/IsValidPhysicalAddress
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 126d60471..9ada78fc8 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -110,6 +110,9 @@ enum : VAddr {
110 NEW_LINEAR_HEAP_VADDR_END = NEW_LINEAR_HEAP_VADDR + NEW_LINEAR_HEAP_SIZE, 110 NEW_LINEAR_HEAP_VADDR_END = NEW_LINEAR_HEAP_VADDR + NEW_LINEAR_HEAP_SIZE,
111}; 111};
112 112
113bool IsValidVirtualAddress(const VAddr addr);
114bool IsValidPhysicalAddress(const PAddr addr);
115
113u8 Read8(VAddr addr); 116u8 Read8(VAddr addr);
114u16 Read16(VAddr addr); 117u16 Read16(VAddr addr);
115u32 Read32(VAddr addr); 118u32 Read32(VAddr addr);