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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index b228a48c2..db5a704d0 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -182,7 +182,8 @@ enum : VAddr {
182}; 182};
183 183
184/// Currently active page table 184/// Currently active page table
185extern PageTable* current_page_table; 185void SetCurrentPageTable(PageTable* page_table);
186PageTable* GetCurrentPageTable();
186 187
187bool IsValidVirtualAddress(const VAddr addr); 188bool IsValidVirtualAddress(const VAddr addr);
188bool IsValidPhysicalAddress(const PAddr addr); 189bool IsValidPhysicalAddress(const PAddr addr);