summaryrefslogtreecommitdiffstats
path: root/src/common/page_table.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2021-01-01 12:30:30 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2021-01-01 12:34:38 +0100
commit6d30745d772c7e332bbea1462a92033386b85b08 (patch)
tree317be75d2ee47aa3c280b597c1233da758c1a9ee /src/common/page_table.h
parentMerge pull request #5249 from ReinUsesLisp/lock-free-pages (diff)
downloadyuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar.gz
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar.bz2
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar.lz
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar.xz
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.tar.zst
yuzu-6d30745d772c7e332bbea1462a92033386b85b08.zip
Diffstat (limited to '')
-rw-r--r--src/common/page_table.h18
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.