Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. pciverifier.h
  5. Abstract:
  6. This header contains prototypes for hardware state verification.
  7. Author:
  8. Adrian J. Oney (AdriaO) 02/20/2001
  9. --*/
  10. //
  11. // The following definitions are external to pciverifier.c
  12. //
  13. VOID
  14. PciVerifierInit(
  15. IN PDRIVER_OBJECT DriverObject
  16. );
  17. VOID
  18. PciVerifierUnload(
  19. IN PDRIVER_OBJECT DriverObject
  20. );
  21. //
  22. // This is the list of PCI verifier failures.
  23. //
  24. typedef enum {
  25. PCI_VERIFIER_BRIDGE_REPROGRAMMED = 1,
  26. PCI_VERIFIER_PMCSR_TIMEOUT,
  27. PCI_VERIFIER_PROTECTED_CONFIGSPACE_ACCESS,
  28. PCI_VERIFIER_INVALID_WHICHSPACE
  29. } PCI_VFFAILURE, *PPCI_VFFAILURE;
  30. //
  31. // This structure specifies table elements used when failing hardware, bioses,
  32. // or drivers.
  33. //
  34. typedef struct {
  35. PCI_VFFAILURE VerifierFailure;
  36. VF_FAILURE_CLASS FailureClass;
  37. ULONG Flags;
  38. PSTR FailureText;
  39. } VERIFIER_DATA, *PVERIFIER_DATA;
  40. PVERIFIER_DATA
  41. PciVerifierRetrieveFailureData(
  42. IN PCI_VFFAILURE VerifierFailure
  43. );
  44. //
  45. // These definitions are *internal* to pciverifier.c
  46. //
  47. NTSTATUS
  48. PciVerifierProfileChangeCallback(
  49. IN PHWPROFILE_CHANGE_NOTIFICATION NotificationStructure,
  50. IN PVOID NotUsed
  51. );
  52. VOID
  53. PciVerifierEnsureTreeConsistancy(
  54. VOID
  55. );