From 2b943e564ac1884812a883a38e78a22b57b7332f Mon Sep 17 00:00:00 2001 From: David Karoly Date: Wed, 20 Apr 2022 15:44:06 +0200 Subject: [PATCH] kernel/arm: hush memory type warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arch_vm_set_memory_type() seems to be x86-specific (cf. MTRR) and on other architectures it's enough to respect memoryType argument passed to Map() and Protect() Change-Id: Ic898b0659c73552d705593dbc3f315dbf504013d Reviewed-on: https://review.haiku-os.org/c/haiku/+/5217 Tested-by: Commit checker robot Reviewed-by: Jérôme Duval --- src/system/kernel/arch/arm/arch_vm.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/system/kernel/arch/arm/arch_vm.cpp b/src/system/kernel/arch/arm/arch_vm.cpp index 22610da76c..29d0acc4aa 100644 --- a/src/system/kernel/arch/arm/arch_vm.cpp +++ b/src/system/kernel/arch/arm/arch_vm.cpp @@ -128,15 +128,11 @@ arch_vm_supports_protection(uint32 protection) void arch_vm_unset_memory_type(VMArea *area) { - // TODO } status_t arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type) { - if (type != 0) - dprintf("%s: undefined type %lx!\n", __PRETTY_FUNCTION__, type); - return B_OK; }