From 7c7fddd7bdbe5a680759fee91678491562786782 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Wed, 20 Dec 2017 19:26:09 +0000 Subject: [PATCH] tests: Remove HandleSpecialMapping test for DSP region Memory::GetPhysicalPointer for the DSP region requires a valid Core::System::dsp_core. --- src/tests/core/memory/memory.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/tests/core/memory/memory.cpp b/src/tests/core/memory/memory.cpp index a01b896f70..afea9efeff 100644 --- a/src/tests/core/memory/memory.cpp +++ b/src/tests/core/memory/memory.cpp @@ -39,12 +39,6 @@ TEST_CASE("Memory::IsValidVirtualAddress", "[core][memory]") { process->vm_manager, {Memory::IO_AREA_VADDR, Memory::IO_AREA_SIZE, false, false}); CHECK_FALSE(Memory::IsValidVirtualAddress(*process, Memory::IO_AREA_VADDR) == true); } - - SECTION("DSP") { - Kernel::HandleSpecialMapping( - process->vm_manager, {Memory::DSP_RAM_VADDR, Memory::DSP_RAM_SIZE, false, false}); - CHECK(Memory::IsValidVirtualAddress(*process, Memory::DSP_RAM_VADDR) == true); - } } SECTION("Unmapping a VAddr should make it invalid") {