sc_panic(3K) DG/UX 5.4R3.00 sc_panic(3K)
NAME
scpanic - write panic message and enter emergency shutdown sequence
SYNOPSIS
#include "/usr/src/uts/aviion/ii/isc.h"
void scpanic (paniccode)
scpaniccodetype paniccode; /*READ ONLY*/
where:
paniccode A value identifying the cause of the panic. This value
will be written to the system console along with the
panic message. Non-standard devices should use a panic
code between 0 and 511 decimal to avoid collision with
existing system panic codes.
DESCRIPTION
This routine is the panic routine that you call when serious errors
or inconsistencies are detected. A panic message is written to the
system console, and the emergency shutdown sequence is entered.
The panic lock is obtained to ensure that only one processor enters
the panic and emergency shutdown code. If any other processors are
running, they are stopped.
DIAGNOSTICS
Return Value
None.
Errors
None.
Abort Conditions
None.
SEE ALSO
devicedriver(3K), interruptmanagement(3K), memoryallocation(3K).
Programming in the DG/UX Kernel Environment.
Licensed material--property of copyright holder(s) 1