|
@@ -140,8 +140,6 @@ extern struct cpu_cache_fns cpu_cache;
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* visible to the CPU.
|
|
* visible to the CPU.
|
|
*/
|
|
*/
|
|
-#define dmac_map_area cpu_cache.dma_map_area
|
|
|
|
-#define dmac_unmap_area cpu_cache.dma_unmap_area
|
|
|
|
#define dmac_flush_range cpu_cache.dma_flush_range
|
|
#define dmac_flush_range cpu_cache.dma_flush_range
|
|
|
|
|
|
#else
|
|
#else
|
|
@@ -161,8 +159,6 @@ extern void __cpuc_flush_dcache_area(void *, size_t);
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* visible to the CPU.
|
|
* visible to the CPU.
|
|
*/
|
|
*/
|
|
-extern void dmac_map_area(const void *, size_t, int);
|
|
|
|
-extern void dmac_unmap_area(const void *, size_t, int);
|
|
|
|
extern void dmac_flush_range(const void *, const void *);
|
|
extern void dmac_flush_range(const void *, const void *);
|
|
|
|
|
|
#endif
|
|
#endif
|