From f7c03610e150e49632354e838052d210c8c6075b Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 8 Apr 2020 22:50:46 -0400 Subject: core: memory: Updates for new VMM. --- src/core/memory.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/core/memory.h') diff --git a/src/core/memory.h b/src/core/memory.h index f6d9e8e8c..9292f3b0a 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -66,19 +66,6 @@ public: */ void SetCurrentPageTable(Kernel::Process& process); - /** - * Maps an physical buffer onto a region of the emulated process address space. - * - * @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 memory Physical buffer with the memory backing the mapping. Must be of length - * at least `size + offset`. - * @param offset The offset within the physical memory. Must be page-aligned. - */ - void MapMemoryRegion(Common::PageTable& page_table, VAddr base, u64 size, - Kernel::PhysicalMemory& memory, VAddr offset); - /** * Maps an allocated buffer onto a region of the emulated process address space. * @@ -88,7 +75,7 @@ public: * @param target Buffer with the memory backing the mapping. Must be of length at least * `size`. */ - void MapMemoryRegion(Common::PageTable& page_table, VAddr base, u64 size, u8* target); + 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. -- cgit v1.2.3