The command is included in a buffer being exchanged in the process along with the space left for returned data.
该命令存放在缓存中,与返回数据的内存空间在进程中交换数据。
The virtio API relies on a simple buffer abstraction to encapsulate the command and data needs of the guest.
virtioAPI依赖一个简单的缓冲抽象来封装来宾操作系统需要的命令和数据。
The put command sends back the contents of the output buffer, but the return statement at the end of main also sends back data; the status generated will be passed back to the PPE.
PUT命令会发回输出缓冲区的内容,但是main末尾的返回语句也会将数据发送回去;所生成的状态会发回给PPE。
Note that you can use the sync command to flush the buffer cache out to the storage media (force all unwritten data out to the device drivers and, subsequently, to the storage device).
注意,可以使用sync命令将缓冲区缓存中的请求发送到存储媒体(迫使所有未写的数据发送到设备驱动程序,进而发送到存储设备)。
Note that you can use the sync command to flush the buffer cache out to the storage media (force all unwritten data out to the device drivers and, subsequently, to the storage device).
注意,可以使用sync命令将缓冲区缓存中的请求发送到存储媒体(迫使所有未写的数据发送到设备驱动程序,进而发送到存储设备)。
应用推荐