aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/k_page_table.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-11 10:50:44 -0400
committerLiam <byteslice@airmail.cc>2023-10-20 02:34:15 -0400
commit60a1c6b95bca1e7053ee26818adbff0f217c2e2e (patch)
tree07ea63a28ddffdaeb1639901d2341104dcfa05a7 /src/core/hle/kernel/k_page_table.h
parent794e6c7a96dbca24780a4301ea439db7a532acc3 (diff)
k_page_table: add new CheckMemoryState helper
Diffstat (limited to 'src/core/hle/kernel/k_page_table.h')
-rw-r--r--src/core/hle/kernel/k_page_table.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h
index af12582d9..e69498f02 100644
--- a/src/core/hle/kernel/k_page_table.h
+++ b/src/core/hle/kernel/k_page_table.h
@@ -263,6 +263,13 @@ private:
KMemoryAttribute attr_mask, KMemoryAttribute attr) const;
Result CheckMemoryState(KMemoryState* out_state, KMemoryPermission* out_perm,
KMemoryAttribute* out_attr, size_t* out_blocks_needed,
+ KMemoryBlockManager::const_iterator it, KProcessAddress last_addr,
+ KMemoryState state_mask, KMemoryState state,
+ KMemoryPermission perm_mask, KMemoryPermission perm,
+ KMemoryAttribute attr_mask, KMemoryAttribute attr,
+ KMemoryAttribute ignore_attr = DefaultMemoryIgnoreAttr) const;
+ Result CheckMemoryState(KMemoryState* out_state, KMemoryPermission* out_perm,
+ KMemoryAttribute* out_attr, size_t* out_blocks_needed,
KProcessAddress addr, size_t size, KMemoryState state_mask,
KMemoryState state, KMemoryPermission perm_mask, KMemoryPermission perm,
KMemoryAttribute attr_mask, KMemoryAttribute attr,