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.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index 345fd870d..c91eeced9 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -121,15 +121,6 @@ public:
121 */ 121 */
122 u8* GetPointer(VAddr vaddr); 122 u8* GetPointer(VAddr vaddr);
123 123
124 /**
125 * Gets a pointer to the start of a kernel heap allocated memory region. Will allocate one if it
126 * does not already exist.
127 *
128 * @param start_vaddr Start virtual address for the memory region.
129 * @param size Size of the memory region.
130 */
131 u8* GetKernelBuffer(VAddr start_vaddr, size_t size);
132
133 template <typename T> 124 template <typename T>
134 T* GetPointer(VAddr vaddr) { 125 T* GetPointer(VAddr vaddr) {
135 return reinterpret_cast<T*>(GetPointer(vaddr)); 126 return reinterpret_cast<T*>(GetPointer(vaddr));