Such restrictions are typically placed on sections of the application such as an interrupt handler, where the code responding to the interrupt must complete its work in a given time period.
The interrupt handler function now has a return code of type irqreturn_t.
现在的中断处理函数的返回代码是一个 irqreturn_t 类型。
3
To see what's going on in main() we can set a breakpoint at a particular line or on a function in the program code so gdb will interrupt execution when it is reached.