![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <device/pci.h>
#include <soc/addressmap.h>
#include <soc/ecam.h>
Go to the source code of this file.
Macros | |
#define | __SIMPLE_DEVICE__ |
Functions | |
uint64_t | ecam0_get_bar_val (pci_devfn_t dev, u8 bar) |
Get PCI BAR address from cavium specific extended capability. More... | |
uint64_t ecam0_get_bar_val | ( | pci_devfn_t | dev, |
u8 | bar | ||
) |
Get PCI BAR address from cavium specific extended capability.
Use regular BAR if not found in extended capability space.
Definition at line 21 of file ecam.c.
References PCI_BASE_ADDRESS_0, pci_read_config32(), pci_read_config8(), and pci_s_find_capability().
Referenced by ecam0_pci_enable_msix().