kernel/arm: hush memory type warnings
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 <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
ab78f824da
commit
2b943e564a
@@ -128,15 +128,11 @@ arch_vm_supports_protection(uint32 protection)
|
|||||||
void
|
void
|
||||||
arch_vm_unset_memory_type(VMArea *area)
|
arch_vm_unset_memory_type(VMArea *area)
|
||||||
{
|
{
|
||||||
// TODO
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type)
|
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;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user