Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ panic(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kprintf(3)

printf(3)

PANIC(2)

NAME

panic − abort processing due to severe error

SYNOPSIS

int panic(message)
char ∗message;

DESCRIPTION

Panic will print the character string message on the console, dump the machine registers and top few stack locations, and halt the processor.  It uses kprintf rather than printf, so it may be called anywhere in the kernel (e.g., from an interrupt routine that may be executed by the null process).  Typing P after the processor halts will cause panic to restore the machine state and continue, so it is possible to examine locations with ODT after the processor halts, and still restart processing. 

There are alternate entry points to panic that are invoked by branch to location zero, illegal interrupts, or processor exceptions (traps). 

SEE ALSO

kprintf(3), printf(3)

December 01, 1986  —  Xinu Programmer’s Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026