Displaying 1 result from an estimated 1 matches for "pci_get_bar0".
2019 Apr 10
0
pci resource address
Hello,
we have a own xxx.c32 file. With syslinux 4.07
With this file we read some information from a pci device.
static inline void *pci_get_bar0(pciaddr_t addr)
{
return (void *)(pci_readl(addr + 0x10) & ~0xf);
}
int fpga_pci_eeprom_init(unsigned char *buf, int size)
{
int rval;
pciaddr_t addr;
void *fpga_addr;
struct pci_domain *domain;
str...