The StorPortAcquireSpinLock routine acquires the specified spin lock.
Syntax
Parameters
DeviceExtension
[in]A pointer to the miniport driver per-adapter device extension.
Figure 2 – Installation of the CP210x driver software. Now you can connect the evaluation board’s USB-to-UART port to one of the USB ports on your PC. The new hardware detection will pop upand enumeration of the driver will be started. Once finished a virtual COMx port is created and you are ready to setup a connection using a terminal.
- With an output terminal offering HDMI, RGB, and USB Super Speed 3.0, MX-P2 seamlessly connects to a wide array of devices. Weighing only 1.2lbs, the MX-P2’s flexible structure and easy setup make it the perfect solution for presentations on the go.
- Download the latest drivers, firmware, and software for your HP Imaging Barcode Scanner.This is HP’s official website that will help automatically detect and download the correct drivers free of cost for your HP Computing and Printing products for Windows and Mac operating system.
SpinLock
Download green hills software driver. [in]Contains an enumerator value of type STOR_SPINLOCK that specifies the spin lock to acquire.
LockContext
[in]A pointer to the DPC object for which the lock is held if SpinLock indicates a type of DpcLock. This member should be NULL if SpinLock indicates a type of either InterruptLock or StartIoLock.
LockHandle
GCT Semiconductor is a leading fabless designer and supplier of advanced 4G LTE semiconductor solutions. GCT's market-proven LTE solutions have enabled fast and reliable LTE connectivity to numerous commercial devices such as smartphones, tablets, hotspots, USB dongles, routers, M2M applications, etc., for the world's top LTE carriers. About GCT Semiconductor, Inc. With its proven radio frequency (RF) CMOS and system-on-a-chip (SOC) expertise, GCT provides state-of-the-art single-chip CMOS RF transceivers, mobile digital TV receivers and Mobile WiMAX solutions serving 3G and 4G mobile system manufacturers by reducing BOM cost, lowering power consumption and minimizing total. Download; Ads by Google. GCT Semiconductor Inc All Drivers » Scan Computer for GCT Semiconductor Inc Driver Updates. BlueSoleil Bluetooth: Bluetooth DUN Modem: Bluetooth USB Dongle: GIGABYTE GN-BT03D USB Bluetooth Adapter: GIGABYTE GN-BTD02 USB Bluetooth Adapter. This download provides the Realtek. High Definition Audio Driver for the 3.5mm audio jack on the Intel® NUC Kits NUC8i7HxKx. This audio driver is required if you plan to connect a microphone or headset to the audio jack or want to use the TOSLINK connection on the back of the Intel NUC.
[in, out]A pointer to a buffer that, on return, will contain a lock handle. To release the lock, the caller must pass this handle to the StorPortReleaseSpinLock routine.
Return value
None
Remarks
Miniport drivers must ensure that they do not attempt to acquire a lock that is already held or acquire locks in an incorrect order. Either of these mistakes will result in system deadlock.
Certain locks are held automatically by the port driver before it calls the miniport driver callback routines. For each miniport driver callback routine, the following table indicates which locks the port driver acquires automatically before calling the callback routine.
Drivers Hand Held Products Port Devices Used
Miniport driver routine | Spin lock held by port driver | ||
---|---|---|---|
HwStorFindAdapter | None | ||
HwStorInitialize | Interrupt (physical miniports), None (virtual miniports) | ||
HwStorInterrupt | Interrupt | ||
HwMSIInterruptRoutine | Interrupt | ||
HwStorStartIo | StartIo (physical miniports only when requested concurrent channels <= 1) | ||
HwStorBuildIo | None | ||
HwStorTimer | Startio, Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is set to StorSynchronizeHalfDuplex) | ||
HwStorResetBus | Startio, Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is set to StorSynchronizeHalfDuplex) | ||
HwStorAdapterControl | None. (In Windows Server 2003, the StartIo spin lock was held when control type is ScsiStopAdapter.) | ||
HwStorUnitControl | None | ||
HwStorTracingEnabled | None | ||
HwStorPassiveInitializeRoutine | None | HwStorDpcRoutine | None |
HwStorStateChange | Startio, Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is set to StorSynchronizeHalfDuplex) |
The locks held by the port driver influence which locks the callback routines are allowed to acquire, because spin locks must be acquired in the following order:
- DPC or StartIo
- Interrupt
For instance, if the port driver acquires the Interrupt spin lock before calling a callback routine, that callback routine can no longer acquire the DPC or StartIo spin lock because the DPC and StartIo spin locks are of a lower order than the Interrupt spin lock. On the other hand, if the port driver acquires the StartIo spin lock before calling a callback routine, that callback routine, when executed, could still acquire an Interrupt or a DPC spin lock.
The following table indicates which spin locks each miniport driver routine can acquire. In those cases where the miniport driver routine must obtain both the StartIo spin lock and the Interrupt spin lock, the routine must always acquire the StartIo spin lock first.
Miniport driver routine | Allowed spin locks |
---|---|
HwStorFindAdapter | None |
HwStorInitialize | None |
HwStorInterrupt | None |
HwMSIInterruptRoutine | None |
HwStorStartIo | DPC, Interrupt. Note that StartIo can be acquired in a virtual miniport driver or from a physical miniport driver that uses multiple concurrent channels. |
HwStorBuildIo | DPC, StartIo, Interrupt |
HwStorTimer | Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is not set to StorSynchronizeHalfDuplex) |
HwStorResetBus | Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is not set to StorSynchronizeHalfDuplex) |
HwStorAdapterControl | DPC, StartIo, Interrupt. (In Windows Server 2003, the no spin lock is allowed when control type is ScsiStopAdapter.) |
HwStorUnitControl | DPC, StartIo, Interrupt |
HwStorTracingEnabled | DPC, StartIo, Interrupt |
HwStorPassiveInitializeRoutine | None |
HwStorDpcRoutine | DPC, StartIo, Interrupt |
HwStorStateChange | Interrupt (when SynchronizationModel member of PORT_CONFIGURATION_INFORMATION is not set to StorSynchronizeHalfDuplex) |
Requirements
Drivers Hand Held Products Port Devices Available
Target Platform | Universal |
Header | storport.h (include Storport.h) |
DDI compliance rules | StorPortSpinLock, StorPortSpinLock3, StorPortSpinLock4 |