DDI_IN_PANIC(9F) | Kernel Functions for Drivers | DDI_IN_PANIC(9F) |
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_in_panic(void);
When the system is panicking, the calls of functions scheduled by timeout(9F) and ddi_trigger_softintr(9F) will never occur. Neither can delay(9F) be relied upon, since it is implemented via timeout(9F).
Drivers that need to enforce a time delay such as SCSI bus reset delay time must busy-wait when the system is panicking.
Writing Device Drivers
June 23, 1997 | OmniOS |