|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Classes | |
| struct | HubBootRegistration |
Macros | |
| #define | NDEBUG |
| #define | HUB_BOOT_REGISTRATION_VERSION 1 |
Typedefs | |
| typedef BOOLEAN(NTAPI * | PFN_HUB_BOOT_DEVICE_READY) (_In_ PDEVICE_OBJECT Pdo, _In_ PVOID Context) |
Variables | |
| _In_ PVOID | Context |
| HubPort * | Port = Child->m_Port |
| ULONG | PortStatus = 0 |
| USHORT | Status = (USHORT)(PortStatus & 0xFFFF) |
| USHORT | Change = (USHORT)(PortStatus >> 16) |
| NTSTATUS | ReadStatus = HubReadPortStatusForBootDevice(Child, &PortStatus) |
| BOOLEAN | Ready = FALSE |
| InterlockedExchange & | Child = Pdo->m_Child |
| Done | __pad0__ |
| _In_ BOOLEAN | WinPe = HubIsWinPe() |
| _In_ BOOLEAN _In_ BOOLEAN | External |
| HubFdo * | Hub = Pdo->m_Hub |
| Child | m_NeedsForwardProgress = TRUE |
| return | STATUS_SUCCESS |
| _In_ WDF_SPECIAL_FILE_TYPE | NotificationType |
| _In_ WDF_SPECIAL_FILE_TYPE _In_ BOOLEAN | IsInNotificationPath |
| #define HUB_BOOT_REGISTRATION_VERSION 1 |
Definition at line 38 of file bootdev.cpp.
| #define NDEBUG |
Definition at line 10 of file bootdev.cpp.
Definition at line 16 of file bootdev.cpp.
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
| [in] | IoControlCode | The IOCTL to send to the device. |
| [in] | DeviceObject | Pointer to the device object that will handle the IOCTL. |
| [in] | InputBuffer | Optional pointer to a buffer containing input data for the IOCTL. When specified, the buffer should be at least of InputBufferLength size. |
| [in] | InputBufferLength | Size in bytes, of the buffer pointed by InputBuffer. |
| [out] | OutputBuffer | Optional pointer to a buffer that will receive output data from the IOCTL. When specified, the buffer should be at least of OutputBufferLength size. |
| [in] | OutputBufferLength | Size in bytes, of the buffer pointed by OutputBuffer. |
| [in] | FileObject | Optional pointer to a file object that may be necessary for the IOCTL. |
Nothing is found unless the PCI bus driver publishes the properties.
The root hub name without its prefix; NULL when the PDO has no name.
Grows a private buffer to what the helper asks for.
Definition at line 43 of file bootdev.cpp.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 89 of file bootdev.cpp.
| C_ASSERT | ( | sizeof(HubBootRegistration) | = =0x18 | ) |
| Port ClearFlag | ( | PortFlag::SsInactiveSeenForBoot | ) |
| DPRINT | ( | "Port %u usage notice % | d, |
| in path %u\n" | , | ||
| Pdo-> | m_PortNumber, | ||
| (int) | NotificationType, | ||
| IsInNotificationPath | |||
| ) |
Definition at line 78 of file bootdev.cpp.
Referenced by _IRQL_requires_max_().
| if | ( | ! | Child->m_SqmFlags &(LONG) ChildSqm::HoldsPagingFiles | ) |
Definition at line 331 of file bootdev.cpp.
| if | ( | !Child->m_Port-> | HasFlagPortFlag::DeviceConnected | ) |
Definition at line 279 of file bootdev.cpp.
| if | ( | ! | NT_SUCCESSReadStatus | ) |
Definition at line 153 of file bootdev.cpp.
| if | ( | ! | WinPe | ) |
Definition at line 285 of file bootdev.cpp.
| if | ( | (Child->m_Kind &DSM_KIND_SUPER_SPEED) &&HubLinkState(Status) | = = LINK_SS_INACTIVE | ) |
Definition at line 182 of file bootdev.cpp.
| if | ( | Child-> | HasStateChildState::DifferentDeviceOnBootPort) &&!(Change &PC_CONNECT | ) |
Definition at line 269 of file bootdev.cpp.
| if | ( | Pdo-> | HasFlagPdoFlag::InBootPath | ) |
| if | ( | Port-> | m_ConnectionStatus = = DeviceFailedEnumeration | ) |
| if | ( | Status & | PS_CONNECTED | ) |
| PAGED_CODE | ( | ) |
Referenced by _IRQL_requires_().
| switch | ( | NotificationType | ) |
Definition at line 337 of file bootdev.cpp.
| UNREFERENCED_PARAMETER | ( | Pdo | ) |
| Done __pad0__ |
Definition at line 199 of file bootdev.cpp.
| Change = (USHORT)(PortStatus >> 16) |
Definition at line 133 of file bootdev.cpp.
Referenced by AdjustHandleCounts(), PortMachine::ConnectChangedOnResume(), PortMachine::DetachThen(), PortMachine::DetachTimed(), PortMachine::ErrorResponseDuringReset(), XhciRootHub::GetPortStatus(), HubUsb4InterfaceChange(), IntMapWindowPoints(), PortMachine::LostChange(), MapWindowPoints(), PortMachine::NextChange(), PortMachine::PendingChange(), PortNextChange20(), PortNextChange30(), PortReportChange(), PortMachine::ReadPortBits(), and User32DefWindowProc().
Definition at line 127 of file bootdev.cpp.
| BOOLEAN External |
Definition at line 258 of file bootdev.cpp.
Referenced by CmpInitializeHive(), if(), and switch().
Definition at line 261 of file bootdev.cpp.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), UcxController::Address0Release(), XhciUsbDevice::BuildAddressContext(), XhciUsbDevice::BuildSlotContext(), DeviceMachine::ComputeExitLatency(), HubChild::Create(), DeviceMachine::CreateDefaultEndpoint(), DeviceMachine::CreateDeviceInController(), DeviceMachine::CreateEndpoints(), UcxUsbDevice::CreateFromHub(), DeviceMachine::DeleteDefaultEndpoint(), DeviceMachine::DeleteDeviceInController(), PortMachine::DisconnectDevice(), for(), HubAcpiAllocate(), HubAddPort(), HubBuildDescContext(), HubCheckUsb2HubDescriptor(), HubCheckUsb3HubDescriptor(), HubClearTtBuffer(), HubConfigurationComplete(), HubConnectorCopyParentId(), HubConnectorSetRootId(), HubControlComplete(), HubCreateParentRequest(), HubCreateUcxRequest(), HubEvtIoDeviceControl(), HubEvtIoInternalDeviceControl(), HubEvtOverCurrentWorkItem(), HubFindHubInterface(), HubInterruptComplete(), HubIoBuild20Descriptor(), HubIoctlComplete(), HubIoCyclePort(), HubIoForward(), HubIoGetConnectionAttributes(), HubIoGetConnectionInformation(), HubIoGetConnectionInformationV2(), HubIoGetConnectionName(), HubIoGetConnectorProperties(), HubIoGetDescriptor(), HubIoGetDriverKeyName(), HubIoGetHubCapabilities(), HubIoGetHubInformationEx(), HubIoGetNodeInformation(), HubIoGetPortStatus(), HubIoLockChild(), HubIoPrepare(), HubIoResetHub(), HubIoUnlockChildren(), HubIoValidate(), HubLogConfigTotalLengthMismatch(), HubMailboxComplete(), HubMailboxTransfer(), HubMakeUsb2StyleDescriptor(), HubParentInfoComplete(), HubPipeResetComplete(), PortMachine::HubPowerTake(), HubResetComplete(), HubRootHubInfoComplete(), HubSendControl(), HubSendToParent(), HubSendUcxIoctl(), HubTakePortStatusRequest(), HubTtClearComplete(), HubUsb4AddPowerRelation(), HubUsb4FindHost(), HubUsb4HostAt(), HubUsb4InterfaceChange(), HubUsb4InvalidatePowerRelations(), HubUsb4OpenWorkItem(), HubUsb4RemovePowerRelation(), HubUsb4TargetRemoveComplete(), HubValidateHubConfiguration(), HubWmiExecuteMethod(), HubWmiFirePortEvent(), HubWmiHubName(), HubWmiHubNameRequest(), HubWmiNotifyOverCurrent(), HubWmiQueryDeviceNode(), HubWmiQueryHubNode(), HubWmiResetOverCurrent(), if(), PortNextChange30(), PortSendControl(), PortTrackPendingOperation(), DeviceMachine::ReleaseAddressZero(), DeviceMachine::SelectConfigValid(), DeviceMachine::SetIsochDelay(), DeviceMachine::SetSel(), UcxBuildPortPath(), UcxEvtQueryStackInterface(), UcxHubAddress0Release(), UcxHubAllowControllerIdle(), UcxHubBlockControllerIdle(), UcxHubClearTtBufferComplete(), UcxHubCreateControlEndpoint(), UcxHubDeviceCreate(), UcxHubDeviceDelete(), UcxHubDeviceDisconnect(), UcxHubDeviceSetPdo(), UcxHubEndpointCreate(), UcxHubEndpointDelete(), UcxHubEndpointSetPriority(), UcxHubQueryControllerBus(), UcxHubStreamsSupported(), and UcxHubWorkItemAllocate().
Definition at line 318 of file bootdev.cpp.
Definition at line 307 of file bootdev.cpp.
Definition at line 317 of file bootdev.cpp.
Definition at line 130 of file bootdev.cpp.
Referenced by if().
| _Outptr_ PUSB_DEVICE_HANDLE _In_ PUSB_DEVICE_HANDLE _In_ USHORT PortStatus = 0 |
Definition at line 131 of file bootdev.cpp.
Referenced by EHCI_RH_GetPortStatus(), FreeBT_GetPortStatus(), FxUsbDevice::GetPortStatus(), HidUsb_GetPortStatus(), HidUsb_ResetWorkerRoutine(), HubPdoDispatchIoctl(), i8042KbdInterruptService(), i8042MouInterruptService(), i8042ReadData(), OHCI_ResetController(), OHCI_RH_ClearFeaturePortConnectChange(), OHCI_RH_ClearFeaturePortEnable(), OHCI_RH_ClearFeaturePortEnableChange(), OHCI_RH_ClearFeaturePortOvercurrentChange(), OHCI_RH_ClearFeaturePortPower(), OHCI_RH_ClearFeaturePortResetChange(), OHCI_RH_ClearFeaturePortSuspend(), OHCI_RH_ClearFeaturePortSuspendChange(), OHCI_RH_GetPortStatus(), OHCI_RH_SetFeaturePortEnable(), OHCI_RH_SetFeaturePortPower(), OHCI_RH_SetFeaturePortReset(), OHCI_RH_SetFeaturePortSuspend(), PdoWrite(), UhciRHGetPortStatus(), USBH_ChangeIndicationWorker(), USBH_GetPortStatus(), USBH_PdoIoctlGetPortStatus(), USBH_ProcessPortStateChange(), USBH_ResetDevice(), USBH_SyncGetPortStatus(), USBH_SyncPowerOnPort(), USBH_SyncResetPort(), USBHI_CreateUsbDevice(), USBHI_GetExtendedHubInformation(), USBPORT_CreateDevice(), and USBPORT_RootHubSCE().
| ReadStatus = HubReadPortStatusForBootDevice(Child, &PortStatus) |
Definition at line 134 of file bootdev.cpp.
Referenced by if(), MiSimpleRead(), HubMachine::OnAwaitingOverCurrentTimer(), HubMachine::OnDevicesAcquiring(), HubMachine::OnListening(), HubMachine::OnPortsAcquiring(), PeekByte(), PitLatchChannelCount(), and PitReadData().
Definition at line 135 of file bootdev.cpp.
Referenced by _Requires_lock_held_(), if(), KiDeferredReadyThread(), and KiSetPriorityThread().
| NTSTATUS Status = (USHORT)(PortStatus & 0xFFFF) |
Definition at line 132 of file bootdev.cpp.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), and if().
| return STATUS_SUCCESS |
Definition at line 309 of file bootdev.cpp.
Referenced by switch().
| BOOLEAN WinPe = HubIsWinPe() |
Definition at line 257 of file bootdev.cpp.
Referenced by switch().