Fork me on GitHub
侧边栏
摘要: dma_alloc_coherent 和 dma_map_single 的主要区别在于 内存分配方式、地址一致性 和 适用场景。 1. dma_alloc_coherent 特点: 分配并映射 一个 DMA 兼容的缓冲区。 返回的 CPU 地址和 DMA 地址 一致性(coherent),即 CPU 阅读全文
posted @ 2025-03-16 20:20 yooooooo 阅读(968) 评论(0) 推荐(1)