Displaying 1 result from an estimated 1 matches for "eeprom_init".
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;
struct pci_device *dev;
domain = pci_scan();
if (!domain) {...