处理器如何通知设备单元其中断请求已在中断驱动I/O中被识别?
How does a processor inform a device unit that its interrupt request has been recognized in interrupt driven I/O?
我正在看的这本书:Computer Organization and Embedded Systems,有一段不太明白:
We should note that as part of handling interrupts, the processor must inform the device that its request has been recognized so that it may remove its interrupt-request signal. This can be accomplished by means of a special control signal, called interrupt acknowledge, which is sent to the device through the interconnection network. An alternative is to have the transfer of data between the processor and the I/O device interface accomplish the same purpose. The execution of an instruction in the interrupt-service routine that accesses the status or data register in the device interface implicitly informs the device that its interrupt request has been recognized.
我理解中断确认概念,但我无法理解该段落的最后两句话。它们是什么意思?
最后两句的意思是处理器可能不会发送任何特殊的控制信号来确认设备,而是处理器可以执行一些事情(例如获取设备寄存器信息或获取传感器数据),当设备收到这些正常信息时指令,表示CPU正在运行ning并完成中断工作,设备将删除其中断请求信号(取消中断),运行正常处理要求(例如从处理器读取并发回传感器读数)。
我正在看的这本书:Computer Organization and Embedded Systems,有一段不太明白:
We should note that as part of handling interrupts, the processor must inform the device that its request has been recognized so that it may remove its interrupt-request signal. This can be accomplished by means of a special control signal, called interrupt acknowledge, which is sent to the device through the interconnection network. An alternative is to have the transfer of data between the processor and the I/O device interface accomplish the same purpose. The execution of an instruction in the interrupt-service routine that accesses the status or data register in the device interface implicitly informs the device that its interrupt request has been recognized.
我理解中断确认概念,但我无法理解该段落的最后两句话。它们是什么意思?
最后两句的意思是处理器可能不会发送任何特殊的控制信号来确认设备,而是处理器可以执行一些事情(例如获取设备寄存器信息或获取传感器数据),当设备收到这些正常信息时指令,表示CPU正在运行ning并完成中断工作,设备将删除其中断请求信号(取消中断),运行正常处理要求(例如从处理器读取并发回传感器读数)。