diff options
| author | 2019-04-07 17:50:31 -0400 | |
|---|---|---|
| committer | 2019-04-07 17:50:31 -0400 | |
| commit | 3c1ce290d0a337997cb2abf611f7679379593da6 (patch) | |
| tree | 50cb112d2f00991aa817f9d4789e0f41c741d8cf /src/core/memory.h | |
| parent | Merge pull request #2321 from ReinUsesLisp/gl-state-rework (diff) | |
| parent | core/memory: Remove GetCurrentPageTable() (diff) | |
| download | yuzu-3c1ce290d0a337997cb2abf611f7679379593da6.tar.gz yuzu-3c1ce290d0a337997cb2abf611f7679379593da6.tar.xz yuzu-3c1ce290d0a337997cb2abf611f7679379593da6.zip | |
Merge pull request #2361 from lioncash/pagetable
core/memory: Minor simplifications to page table management
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 9153e4954..6845f5fe1 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -40,9 +40,8 @@ enum : VAddr { | |||
| 40 | KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE, | 40 | KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE, |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | /// Currently active page table | 43 | /// Changes the currently active page table. |
| 44 | void SetCurrentPageTable(Common::PageTable* page_table); | 44 | void SetCurrentPageTable(Common::PageTable* page_table); |
| 45 | Common::PageTable* GetCurrentPageTable(); | ||
| 46 | 45 | ||
| 47 | /// Determines if the given VAddr is valid for the specified process. | 46 | /// Determines if the given VAddr is valid for the specified process. |
| 48 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); | 47 | bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); |