2 * PROJECT: ReactOS PCI Bus Driver
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: drivers/bus/pci/pcivrify.c
5 * PURPOSE: PCI Driver Verifier Support
6 * PROGRAMMERS: ReactOS Portable Systems Group
9 /* INCLUDES *******************************************************************/
15 /* GLOBALS ********************************************************************/
17 BOOLEAN PciVerifierRegistered
;
18 PVOID PciVerifierNotificationHandle
;
20 /* FUNCTIONS ******************************************************************/
24 PciVerifierProfileChangeCallback(IN PVOID NotificationStructure
,
27 /* This function is not yet implemented */
30 return STATUS_SUCCESS
;
35 PciVerifierInit(IN PDRIVER_OBJECT DriverObject
)
39 /* Check if the kernel driver verifier is enabled */
40 if (VfIsVerificationEnabled(VFOBJTYPE_SYSTEM_BIOS
, NULL
))
42 /* Register a notification for changes, to keep track of the PCI tree */
43 Status
= IoRegisterPlugPlayNotification(EventCategoryHardwareProfileChange
,
47 PciVerifierProfileChangeCallback
,
49 &PciVerifierNotificationHandle
);
50 if (NT_SUCCESS(Status
)) PciVerifierRegistered
= TRUE
;