Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pcibackup.h 800B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef _GPXE_PCIBACKUP_H
  2. #define _GPXE_PCIBACKUP_H
  3. /** @file
  4. *
  5. * PCI configuration space backup and restoration
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <stdint.h>
  10. /** A PCI configuration space backup */
  11. struct pci_config_backup {
  12. uint32_t dwords[64];
  13. };
  14. /** PCI configuration space backup exclusion list end marker */
  15. #define PCI_CONFIG_BACKUP_EXCLUDE_END 0xff
  16. /** Define a PCI configuration space backup exclusion list */
  17. #define PCI_CONFIG_BACKUP_EXCLUDE(...) \
  18. { __VA_ARGS__, PCI_CONFIG_BACKUP_EXCLUDE_END }
  19. extern void pci_backup ( struct pci_device *pci,
  20. struct pci_config_backup *backup,
  21. const uint8_t *exclude );
  22. extern void pci_restore ( struct pci_device *pci,
  23. struct pci_config_backup *backup,
  24. const uint8_t *exclude );
  25. #endif /* _GPXE_PCIBACKUP_H */