Writing Device Drivers

Interrupt Handling Additions to the State Structure

This section adds the following fields to the state structure. See "Software State Structure" for more information.

	ddi_iblock_cookie_t					high_iblock_cookie;
 	ddi_idevice_cookie_t			high_idevice_cookie;
 	kmutex_t								high_mu;
 	int									softint_running;
 	ddi_iblock_cookie_t				low_iblock_cookie;
 	kmutex_t								low_mu;
 	ddi_softintr_t						id;