内核函数定义

时间:2013-06-07 11:46:09

标签: linux-kernel cross-reference

在哪里可以找到以下函数的完整实现/主体,在Linux内核中的“include / linux / pci.h”中定义为函数原型。

int pci_bus_read_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 *val);
int pci_bus_write_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 val);

我通常使用free-electron's cross reference来查找内核中函数的定义。我还使用cscope来查找这些函数的定义,但两种情况都没有运气。

1 个答案:

答案 0 :(得分:5)

您无法使用“哑”索引器/标记器找到它们,因为它们是由宏here生成的。

相关问题