1#ifndef _IPXE_PCIBACKUP_H
2#define _IPXE_PCIBACKUP_H
16#define PCI_CONFIG_BACKUP_ALL 0x100
19#define PCI_CONFIG_BACKUP_STANDARD 0x40
27#define PCI_CONFIG_BACKUP_EXCLUDE_END 0xff
30#define PCI_CONFIG_BACKUP_EXCLUDE(...) \
31 { __VA_ARGS__, PCI_CONFIG_BACKUP_EXCLUDE_END }
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
#define PCI_CONFIG_BACKUP_ALL
Limit of PCI configuration space.
void pci_restore(struct pci_device *pci, struct pci_config_backup *backup, unsigned int limit, const uint8_t *exclude)
Restore PCI configuration space.
void pci_backup(struct pci_device *pci, struct pci_config_backup *backup, unsigned int limit, const uint8_t *exclude)
Back up PCI configuration space.
A PCI configuration space backup.
uint32_t dwords[PCI_CONFIG_BACKUP_ALL/sizeof(uint32_t)]