summaryrefslogtreecommitdiff
path: root/src/core/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/memory.h')
-rw-r--r--src/core/memory.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 7878f3fb1..1428a6d60 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -59,6 +59,13 @@ public:
59 Memory& operator=(Memory&&) = default; 59 Memory& operator=(Memory&&) = default;
60 60
61 /** 61 /**
62 * Changes the currently active page table to that of the given process instance.
63 *
64 * @param process The process to use the page table of.
65 */
66 void SetCurrentPageTable(Kernel::Process& process);
67
68 /**
62 * Maps an allocated buffer onto a region of the emulated process address space. 69 * Maps an allocated buffer onto a region of the emulated process address space.
63 * 70 *
64 * @param page_table The page table of the emulated process. 71 * @param page_table The page table of the emulated process.
@@ -401,10 +408,6 @@ private:
401 std::unique_ptr<Impl> impl; 408 std::unique_ptr<Impl> impl;
402}; 409};
403 410
404/// Changes the currently active page table to that of
405/// the given process instance.
406void SetCurrentPageTable(Kernel::Process& process);
407
408/// Determines if the given VAddr is a kernel address 411/// Determines if the given VAddr is a kernel address
409bool IsKernelVirtualAddress(VAddr vaddr); 412bool IsKernelVirtualAddress(VAddr vaddr);
410 413