Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试创建一个 C 程序,其目标是 enable_irq 和 disable_irq。我已经包含了 linux/irq.h
#include <linux/irq.h>
当我编译时: gcc myProgram.c -o myExecutable
我有错误:致命错误:linux/irq.h 找不到文件或文件夹
我必须安装什么软件包?我在archLinux上。
您不能从用户空间应用程序禁用 IRQ。这些功能仅在内核中可用。