Queue DMA GETs for all buffers.
对所有缓冲区的DMA GET进行排队。
Each buffer gets a unique DMA tag ID.
每个缓冲区获得一个惟一的DMA标记ID。
16 works just fine, for DMA to the SPE.
对于到SPE的dma来说,16次幂就可以很好地工作。
Finally, all DMA command names have a _cmd suffix.
最后,所有的dma命令名都有一个_ CMD后缀。
Both the SPE and the PPE can initiate DMA transfers.
SPE和PPE都可以发起dma传输。
The SPU queues a DMA PUT to transmit the buffer back to main memory.
SPU对DMA PUT进行排队,从而将缓冲区传输回主内存。
The tag_id allows for you to retrieve the status of the DMA operation.
tag_id让您可以检索d ma操作的状态。
Therefore, they cannot be accessed directly, but must be moved in through DMA.
因而,它们不能被直接访问,而必须通过DMA 移进来。
Next, it performs a DMA transfer to copy in the parameter structure from the PPE.
接下来,执行dma传输以在参数结构内从ppe复制。
This command causes the SPE to immediately return with the status of the DMA channels.
这个命令会导致SPE立即返回dma通道的状态。
Using spu_mfcstat allows you to both check on the status of DMA requests and wait for them.
使用spu_mfcstat让您可以既检查dma请求的状态,又进行等待。
You then use a DMA command to fetch the full structure, and wait for the DMA to complete.
然后使用dma命令来获取整个结构,等待DMA完成。
The real power of mailboxes comes when a program combines the mailbox and the DMA approach.
当程序组合使用了邮箱和DMA方法时,才会显出邮箱的真正实力。
Think of this as a specialized version of the C library function select, but for DMA transfers.
可以把它看作C库函数select的特殊版本,但是针对的是DMA传输。
Before getting into the details of the main program, I'll explore the DMA utility functions.
在深入介绍主程序细节之前,我要先来探讨一下dma实用函数。
Queue a DMA GETB to refill the buffer with more data after the existing data is stored back.
对DMAGETB进行排队,从而在将现有数据存储回去之后,用更多数据重新填充缓冲区。
The SPU queues a DMA GET to pull a portion of the problem data set from main memory to a buffer.
SPU对DMA GET进行排队,从而将涉及的数据集的一部分从主内存传输到一个缓冲区。
You use the same DMA parameters as for the last transfer, but this time it is an MFC_PUT_CMD command.
使用相同的dma参数作最后的传输,但这次使用的是MFC_PUT _ CMD命令。
GETB, PUTB, GETF, and PUTF are the primary fence and barrier-related DMA commands for single buffers.
对于单一缓冲区,GETB、PUTB、GETF和PUTF是与fence和barrier相关的主要dma命令。
The transferTo() method causes the file contents to be copied into a read buffer by the DMA engine.
transferTo()方法引发DMA引擎将文件内容拷贝到一个读取缓冲区。
The transferTo() method causes the file contents to be copied into a kernel buffer by the DMA engine.
transferTo()方法引发DMA引擎将文件内容拷贝到内核缓冲区。
This code relies on some utility functions for handling DMA commands. Enter those functions as dma_utils.s
这段代码依赖于一些实用函数来处理DMA命令。
For instance, one of the problems with the original code is that it is limited to the size of a DMA transfer.
举例来说,原来代码的一个问题是一次dma传输的大小有限制。
The third copy happens as the DMA engine passes the data from the kernel socket buffers to the protocol engine.
数据的第三次复制发生在dma引擎将数据从内核套接字缓冲区传到协议引擎时。
ActiveSync needs to use the DMA transport feature to connect to an emulator, so ActiveSync needs to be set to DMA.
ActiveSync需要使用dma传输特性连接模拟器,所以需?
The problem is that there are unusually strict alignment requirements on data that will be transferred through DMA.
这个问题由于通常通过dma方式传递数据时,会有严格的对齐要求。
It takes a tag as its only parameter, converts it to a tag mask, requests a DMA status, and then reads the status.
它接受标签作为惟一一个参数,将它转换为标签掩码、请求dma状态然后再读取状态。
A DMA request always involves moving data between the SPE local store and a virtual address space on the PPE side.
dma请求通常会涉及数据在SPE本地存储与ppe端虚拟地址空间之间进行移动。
These all need to be quadword aligned, so that you can copy it into your main program and use the values with DMA transfers.
而且它们都是按四字节对齐的以便能够将其复制进您的主程序并在DMA 传输时使用值。
In some cases, the data passed in as arguments will have more addresses that are, in turn, DMA-ed over in whole or in part.
在某些情况下,作为参数传递进来的数据会有更多地址,它们可能是采用dma方式一起或部分传入的。
应用推荐