summaryrefslogtreecommitdiffstats
path: root/src/core/memory.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/core/memory.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 'src/core/memory.h')
-rw-r--r--src/core/memory.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 4a1cc63f4..705ebb23d 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -8,7 +8,6 @@
#include <memory>
#include <string>
#include "common/common_types.h"
-#include "common/memory_hook.h"
namespace Common {
struct PageTable;
@@ -78,17 +77,6 @@ public:
void MapMemoryRegion(Common::PageTable& page_table, VAddr base, u64 size, PAddr target);
/**
- * Maps a region of the emulated process address space as a IO region.
- *
- * @param page_table The page table of the emulated process.
- * @param base The address to start mapping at. Must be page-aligned.
- * @param size The amount of bytes to map. Must be page-aligned.
- * @param mmio_handler The handler that backs the mapping.
- */
- void MapIoRegion(Common::PageTable& page_table, VAddr base, u64 size,
- Common::MemoryHookPointer mmio_handler);
-
- /**
* Unmaps a region of the emulated process address space.
*
* @param page_table The page table of the emulated process.
@@ -98,28 +86,6 @@ public:
void UnmapRegion(Common::PageTable& page_table, VAddr base, u64 size);
/**
- * Adds a memory hook to intercept reads and writes to given region of memory.
- *
- * @param page_table The page table of the emulated process
- * @param base The starting address to apply the hook to.
- * @param size The size of the memory region to apply the hook to, in bytes.
- * @param hook The hook to apply to the region of memory.
- */
- void AddDebugHook(Common::PageTable& page_table, VAddr base, u64 size,
- Common::MemoryHookPointer hook);
-
- /**
- * Removes a memory hook from a given range of memory.
- *
- * @param page_table The page table of the emulated process.
- * @param base The starting address to remove the hook from.
- * @param size The size of the memory region to remove the hook from, in bytes.
- * @param hook The hook to remove from the specified region of memory.
- */
- void RemoveDebugHook(Common::PageTable& page_table, VAddr base, u64 size,
- Common::MemoryHookPointer hook);
-
- /**
* Checks whether or not the supplied address is a valid virtual
* address for the given process.
*