|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| pHalTranslateBusAddress | PcipSavedTranslateBusAddress |
| pHalAssignSlotResources | PcipSavedAssignSlotResources |
| _Requires_lock_held_ | ( | PciGlobalLock | ) |
Finds the PDO of the function in a slot.
Definition at line 52 of file hookhal.c.
|
static |
Asks the PnP manager for the ranges of a legacy claimed function and programs them. On success Resources receives the assignment, stripped of private descriptors.
Definition at line 166 of file hookhal.c.
Referenced by PciAssignSlotResources().
| NTSTATUS NTAPI PciAssignSlotResources | ( | _In_ PUNICODE_STRING | RegistryPath, |
| _In_opt_ PUNICODE_STRING | DriverClassName, | ||
| _In_ PDRIVER_OBJECT | DriverObject, | ||
| _In_opt_ PDEVICE_OBJECT | DeviceObject, | ||
| _In_ INTERFACE_TYPE | BusType, | ||
| _In_ ULONG | BusNumber, | ||
| _In_ ULONG | SlotNumber, | ||
| _Inout_ PCM_RESOURCE_LIST * | AllocatedResources | ||
| ) |
Assigns resources to a function claimed by a driver outside of PnP.
Definition at line 232 of file hookhal.c.
Referenced by PciHookHal().
Definition at line 319 of file hookhal.c.
Referenced by DriverEntry().
Gives the HAL back the routines PciHookHal replaced.
Definition at line 337 of file hookhal.c.
Referenced by PciDriverUnload().
|
static |
Removes the device private descriptors from an assigned resource list.
Definition at line 135 of file hookhal.c.
Referenced by PciAssignAndProgramLegacy().
| BOOLEAN NTAPI PciTranslateBusAddress | ( | IN INTERFACE_TYPE | InterfaceType, |
| IN ULONG | BusNumber, | ||
| IN PHYSICAL_ADDRESS | BusAddress, | ||
| OUT PULONG | AddressSpace, | ||
| OUT PPHYSICAL_ADDRESS | TranslatedAddress | ||
| ) |
Definition at line 25 of file hookhal.c.
Referenced by PciHookHal().
| pHalAssignSlotResources PcipSavedAssignSlotResources |
Definition at line 19 of file hookhal.c.
Referenced by PciAssignSlotResources(), PciHookHal(), and PciRestoreHalHooks().
| pHalTranslateBusAddress PcipSavedTranslateBusAddress |
Definition at line 18 of file hookhal.c.
Referenced by PciHookHal(), PciRestoreHalHooks(), and PciTranslateBusAddress().