1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-04-14 10:39:45 +08:00
Files
archbase/materials/chapter5/pio_vs_dma.csv
2021-10-27 19:14:51 +08:00

9 lines
508 B
CSV
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
PIO方式,DMA方式
键盘输入,网卡收包
敲击键盘,接收端收到网络包
键盘输入被记录在PS/2控制器内,网卡将收到的网络包写入内存中预先分配好的内存中
PS/2控制器向处理器发送中断,网卡向处理器发送中断
CPU查询中断源发现键盘中断,CPU查询中断源发现网卡接收中断
CPU从PS/2控制器内读回键盘值,CPU从内存中读到网络包并进行处理初始化新的接收缓冲供网卡使用
CPU清中断,CPU清中断