diff options
Diffstat (limited to 'src/include/ipxe/nvsvpd.h')
-rw-r--r-- | src/include/ipxe/nvsvpd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/ipxe/nvsvpd.h b/src/include/ipxe/nvsvpd.h index 5f80844e7..3450e5c71 100644 --- a/src/include/ipxe/nvsvpd.h +++ b/src/include/ipxe/nvsvpd.h @@ -13,21 +13,21 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/nvs.h> #include <ipxe/pcivpd.h> +struct nvo_block; +struct refcnt; + /** An NVS VPD device */ struct nvs_vpd_device { /** NVS device */ struct nvs_device nvs; /** PCI VPD device */ struct pci_vpd vpd; - /** Starting address - * - * This address is added to the NVS address to form the VPD - * address. - */ - unsigned int address; }; -extern int nvs_vpd_init ( struct nvs_vpd_device *nvsvpd, struct pci_device *pci, - unsigned int field ); +extern int nvs_vpd_init ( struct nvs_vpd_device *nvsvpd, + struct pci_device *pci ); +extern void nvs_vpd_nvo_init ( struct nvs_vpd_device *nvsvpd, + unsigned int field, struct nvo_block *nvo, + struct refcnt *refcnt ); #endif /* IPXE_NVSVPD_H */ |