The ddi_iblock_cookie( say iblock) , which is returned from ddi_add_intr(dip, 
0, ..), is passed to initialize the driver mutex  mutex_init(….,(void 
*)iblock). 
Does the mutex_enter call in any driver entry point [ say xxiosctl() ] put the 
driver into the interrupt level (0)  so that the driver code cannot be 
preempted until mutex_exit() is called.
Many thanks in advance for the response.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to