在 this link (Linus Torvalds 的 GitHub)您会找到一些 Linux 头文件,例如 memblock.h
和 ioport.h
。
我很困惑,因为我认为这些文件应该是内核头文件;但是,我在当前的 Linux 中找不到其中的大部分(我使用的是内核为 4.9.0 的 Debian)。谁能告诉我为什么我找不到它们,好吗?
最佳答案
Debian Stretch:memblock.h 和 ioport.h 在例如包 linux-headers-4.9.0-2-common
包裹:https://packages.debian.org/stretch/linux-headers-4.9.0-2-common
文件列表:https://packages.debian.org/stretch/all/linux-headers-4.9.0-2-common/filelist
关于Linux ioport.h 和 memblock.h 头文件丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43757603/