Skip to content

Commit 9f0f08c

Browse files
authored
Update ch9 2device-driver-2.rst
1 parent b62c9bb commit 9f0f08c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/chapter9/2device-driver-2.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,11 +263,11 @@ virtqueue由三部分组成(如下图所示):
263263

264264
3.1 virtio设备通过 `kick` 机制知道有新的I/O请求,通过访问可用环的idx指针,解析出I/O请求;
265265

266-
3.2 根据I/O请求内容完成I/O请求,并把I/O操作的结果放到I/O请求中相应的buffer中;
266+
3.2 根据I/O请求内容完成I/O操作,并把I/O操作的结果放到I/O请求中相应的buffer中;
267267

268268
3.3 再把描述符(或描述符链的首描述符)的索引值写入到已用环中,更新已用环的idx指针;
269269

270-
3.4 设备通过再通过中断机制来通知设备驱动程序有I/O操作完成;
270+
3.4 设备再通过中断机制来通知设备驱动程序有I/O操作完成;
271271

272272
**4. I/O后处理过程:(驱动程序执行)**
273273

0 commit comments

Comments
 (0)