coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pci_devs.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef AMD_BLOCK_PCI_DEVS_H
4 #define AMD_BLOCK_PCI_DEVS_H
5 
6 #include <device/pci_def.h>
7 
8 #if !defined(__SIMPLE_DEVICE__)
9 #include <device/device.h>
10 #define _SOC_DEV(slot, func) pcidev_on_root(slot, func)
11 #else
12 #define _SOC_DEV(slot, func) PCI_DEV(0, slot, func)
13 #endif
14 
15 #endif /* AMD_BLOCK_PCI_DEVS_H */