The values in the prev and intpri fields help in determining whether the processor is running a thread or an interrupt handler.
prev和intpri字段中的值帮助判断处理器是在运行线程还是在运行中断处理程序。
You set some registers and issue a system call instruction (or an interrupt) and have the kernel code called directly from the trap handler.
你可以设置一些寄存器,并发出一个系统调用指令(或中断),并由陷阱处理程序直接调用内核代码。
To bind an interrupt to a CPU or group of CPUs, first determine which CPUs should process the interrupt and lay out the bitmask accordingly.
为了将一个中断绑定到某个或某组cpu,首先要决定应该让哪些CPU处理这个中断,然后相应地编写位掩码。
应用推荐