diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-09 19:25:54 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-12 04:11:40 +0200 |
commit | f2331a804a2fa300d9a7dc0d012e3242b7accdaf (patch) | |
tree | d7f61aa201effed9e37fc07c626218759fc75288 /src/core/memory.h | |
parent | Merge pull request #2235 from ReinUsesLisp/spirv-decompiler (diff) | |
download | yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar.gz yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar.bz2 yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar.lz yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar.xz yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.tar.zst yuzu-f2331a804a2fa300d9a7dc0d012e3242b7accdaf.zip |
Diffstat (limited to 'src/core/memory.h')
-rw-r--r-- | src/core/memory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index 6845f5fe1..b9fa18b1d 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -40,8 +40,9 @@ enum : VAddr { KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE, }; -/// Changes the currently active page table. -void SetCurrentPageTable(Common::PageTable* page_table); +/// Changes the currently active page table to that of +/// the given process instance. +void SetCurrentPageTable(Kernel::Process& process); /// Determines if the given VAddr is valid for the specified process. bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr); |