缓冲区地址实际上是一个用户空间的缓冲区,因此我们不能直接读取它。
The buffer address is actually a user-space buffer, so you won't be able to read it directly.
strnlen_user函数带有两个参数:用户空间缓冲区地址和要检查的最大长度。
The strnlen_user function takes two arguments: the user space buffer address and the maximum length to check.
例如,可以创建SPE任务来侦听其邮箱上的缓冲区地址,然后使用该地址拉入所有要通过DMA处理的数据。
For example, an SPE task can be created which listens for buffer addresses on its mailbox, and then USES that address to pull in all of the data to be processed through DMA.
应用推荐