gpt4 book ai didi

c - DMA 传输 RAM 到 RAM

转载 作者:可可西里 更新时间:2023-11-01 12:27:09 26 4
gpt4 key购买 nike

我的一个 friend 告诉我,在 x86 架构上,DMA Controller 无法在两个不同的 RAM 位置之间传输。它只能在RAM和外设(如PCI总线)之间传输。

这是真的吗?

因为 AFAIK DMA Controller 应该能够在位于 BUS 上并具有地址的任意设备之间。特别是如果源地址和目标地址属于同一物理设备,我认为没有问题。

最佳答案

ISA(记得吗?;-)DMA 芯片肯定有一个 Fetch-and-Deposit传输类型。

但是,从 MASM32 forums :

Hi,

Checking in "The Undocumented PC", he says memory to memory DMA is possible. He then goes on to say that there can be problems, limitations, and that the CPU can do the copy faster than the DMA hardware anyway (MOVSD on 386+).

So it seems to be a yes you can, but who cares, kind of thing.

Regards,

Steve N.

关于c - DMA 传输 RAM 到 RAM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4297539/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com