Query: ddi_in_panic
OS: opensolaris
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ddi_in_panic(9F) Kernel Functions for Drivers ddi_in_panic(9F)NAMEddi_in_panic - determine if system is in panic stateSYNOPSIS#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_in_panic(void);INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONDrivers controlling devices on which the system may write a kernel crash dump in the event of a panic can call ddi_in_panic() to determine if the system is panicking. 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.RETURN VALUESddi_in_panic() returns 1 if the system is in panic, or 0 otherwise.CONTEXTddi_in_panic() may be called from any context.SEE ALSOdump(9E), delay(9F), ddi_trigger_softintr(9F), timeout(9F) Writing Device Drivers SunOS 5.11 23 Jun 1997 ddi_in_panic(9F)
Related Man Pages |
---|
ddi_in_panic(9f) - osx |
ddi_in_panic(9f) - xfree86 |
ddi_in_panic(9f) - posix |
ddi_in_panic(9f) - debian |
ddi_in_panic(9f) - minix |
Similar Topics in the Unix Linux Community |
---|
How to determine the max file size |
Panic on SUN server |
kernel panic-not syncing:fatal exception while booting |
Forcing a kernel panic in RHEL 5.4 |
System Went panic after CPU usage high |