假设有一个端口映射的I/O设备,它在IRQ线路上任意生成中断。设备的挂起中断可以通过对特定寄存器的单个outb调用来清除。
此外,假设下面的中断处理程序通过request_irq分配给相关的IRQ行
irqreturn_t handler(int irq, void *data)
{
/* clear pending IRQ on device */
outb(0, CLEAR_IRQ_REGISTER_ADDR);
/* device may generate another IRQ at this point,
* but
如信号(7)的手册页中所述, Interruption of system calls and library functions by signal handlers
If a signal handler is invoked while a system call or library function call is blocked, then either:
* the call is automatically restarted after the signal handler returns; or
* the call f
我是全新的arch linux。我遵循教程的第一部分,并在virtualbox 5.1.6上运行linux环境。
在此之后,我安装了xorg-server,xorg-xinit,twm,xterm,xf86 86-视频-vesa virtualbox-来宾-utils(virtualbox-来宾-模块-arch)
重新启动并获得以下消息:
ACPI: No IRQ available for PCI Interrupt Link [LNKD]. Try pci=noacpi or acpi=off
A start job is running for Load Kernel Modules (