diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2021-01-01 11:30:30 +0000 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2021-01-01 11:34:38 +0000 |
commit | 6d30745d772c7e332bbea1462a92033386b85b08 (patch) | |
tree | 317be75d2ee47aa3c280b597c1233da758c1a9ee /src/common/page_table.h | |
parent | eb318ffffc5007c35c42826e23945a82c24900b1 (diff) |
memory: Remove MemoryHook
Diffstat (limited to 'src/common/page_table.h')
-rw-r--r-- | src/common/page_table.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common/page_table.h b/src/common/page_table.h index 8d4ee9249..0c14e6433 100644 --- a/src/common/page_table.h +++ b/src/common/page_table.h @@ -8,7 +8,6 @@ #include <tuple> #include "common/common_types.h" -#include "common/memory_hook.h" #include "common/virtual_buffer.h" namespace Common { @@ -23,23 +22,6 @@ enum class PageType : u8 { RasterizerCachedMemory, }; -struct SpecialRegion { - enum class Type { - DebugHook, - IODevice, - } type; - - MemoryHookPointer handler; - - [[nodiscard]] bool operator<(const SpecialRegion& other) const { - return std::tie(type, handler) < std::tie(other.type, other.handler); - } - - [[nodiscard]] bool operator==(const SpecialRegion& other) const { - return std::tie(type, handler) == std::tie(other.type, other.handler); - } -}; - /** * A (reasonably) fast way of allowing switchable and remappable process address spaces. It loosely * mimics the way a real CPU page table works. |