diff options
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 3 |
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 |
| 185 | extern PageTable* current_page_table; | 185 | void SetCurrentPageTable(PageTable* page_table); |
| 186 | PageTable* GetCurrentPageTable(); | ||
| 186 | 187 | ||
| 187 | bool IsValidVirtualAddress(const VAddr addr); | 188 | bool IsValidVirtualAddress(const VAddr addr); |
| 188 | bool IsValidPhysicalAddress(const PAddr addr); | 189 | bool IsValidPhysicalAddress(const PAddr addr); |