sc_panic(3K) SDK R4.11 sc_panic(3K)
NAME
scpanic - write halt message and enter emergency shutdown sequence
SYNOPSIS
#include "/usr/src/uts/aviion/ii/isc.h"
void scpanic (haltcode)
scpaniccodetype haltcode; /*READ ONLY*/
where:
haltcode A value identifying the cause of the halt. This value
will be written to the system console along with the halt
message. Non-standard devices should use a halt code
between 0 and 511 decimal to avoid collision with
existing system halt codes.
DESCRIPTION
This routine is the halt routine that you call when serious errors or
inconsistencies are detected. A halt message is written to the
system console, and the emergency shutdown sequence is entered.
The halt lock is obtained to ensure that only one processor enters
the halt 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)