diff options
| author | 2019-04-07 02:47:33 -0400 | |
|---|---|---|
| committer | 2019-04-07 02:47:37 -0400 | |
| commit | abae7577d20d2bf963112547d222dd3a7f8230c7 (patch) | |
| tree | 4735c9b497bf7dfa409e0be99c88bba2a3c57040 /src/core/memory.h | |
| parent | arm/arm_dynarmic: Remove unnecessary current_page_table member (diff) | |
| download | yuzu-abae7577d20d2bf963112547d222dd3a7f8230c7.tar.gz yuzu-abae7577d20d2bf963112547d222dd3a7f8230c7.tar.xz yuzu-abae7577d20d2bf963112547d222dd3a7f8230c7.zip | |
core/memory: Remove GetCurrentPageTable()
Now that nothing actually touches the internal page table aside from the
memory subsystem itself, we can remove the accessor to it.
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 1d38cdca8..a72d10a0a 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -50,9 +50,8 @@ enum : VAddr { | |||
| 50 | KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE, | 50 | KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE, |
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | /// Currently active page table | 53 | /// Changes the currently active page table. |
| 54 | void SetCurrentPageTable(Common::PageTable* page_table); | 54 | void SetCurrentPageTable(Common::PageTable* page_table); |
| 55 | Common::PageTable* GetCurrentPageTable(); | ||
| 56 | 55 | ||
| 57 | /// Determines if the given VAddr is valid for the specified process. | 56 | /// Determines if the given VAddr is valid for the specified process. |
| 58 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); | 57 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); |