Sun Java Solaris Communities My SDN Account Join SDN
 
Documentation

Solaris (Intel Platform Edition) - Device Driver Writer's Orientation

 

Page 34 of 66


Interrupt Handling (cont)

Interrupt Context:
  • Interrupts are triggered asynchronously by external events
  • Interrupts do not run in user context
  • Process-related data is not available from within ISRs
Classes of Interrupt:
  • Two broad classes of interrupt: High-level and normal interrupts
  • Most interrupts on the system are normal interrupts
  • Seldom must a device be configured to a high-level interrupt
  • High-level interrupts are handled much like traditional UNIX interrupts
  • A high-level interrupt has no process or thread context of its own
  • A high-level interrupt may not block for any reason
  • A high-level ISR may only call mutex_enter(9F), the associated mutex_exit(9F), and ddi_trigger_softintr(9F)

FIRST   PREVIOUS   NEXT   LAST   CONTENTS

Return to White Papers