FOC: Fix in kernel 'Op_cache_dma_coherent'
'Mem_unit::flush_dcache' takes void pointers as arguments, no need to take the
given void pointers ('start' and 'end') and transform them to
'Virt_addr(Address(x)' types. This breaks cache flushing in r72.
This commit is contained in:
@@ -99,7 +99,7 @@ Mem_op::__arm_kmem_l1_cache_maint(int op, void const *kstart, void const *kend)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Op_cache_dma_coherent:
|
case Op_cache_dma_coherent:
|
||||||
Mem_unit::flush_dcache(Virt_addr(Address(kstart)), Virt_addr(Address(kend)));
|
Mem_unit::flush_dcache(kstart, kend);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// We might not want to implement this one but single address outer
|
// We might not want to implement this one but single address outer
|
||||||
|
|||||||
Reference in New Issue
Block a user