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/arm/arm_interface.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/arm/arm_interface.h')
-rw-r--r-- | src/core/arm/arm_interface.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 4dfd41b43..978b1518f 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -7,6 +7,10 @@ #include <array> #include "common/common_types.h" +namespace Common { +struct PageTable; +} + namespace Kernel { enum class VMAPermission : u8; } @@ -49,8 +53,14 @@ public: /// Clear all instruction cache virtual void ClearInstructionCache() = 0; - /// Notify CPU emulation that page tables have changed - virtual void PageTableChanged() = 0; + /// Notifies CPU emulation that the current page table has changed. + /// + /// @param new_page_table The new page table. + /// @param new_address_space_size_in_bits The new usable size of the address space in bits. + /// This can be either 32, 36, or 39 on official software. + /// + virtual void PageTableChanged(Common::PageTable& new_page_table, + std::size_t new_address_space_size_in_bits) = 0; /** * Set the Program Counter to an address |