DISABLE(3)
NAME
disable, enable, restore − change and restore processor interrupt status
SYNOPSIS
disable(ps);
enable(ps);
restore(ps);
charps;
DESCRIPTION
These routines change the processor interrupt status mode. Normally, procedures use disable and restore to save the interrupt status, mask interrupts off, and then restore the saved status. Enable explicitly enables interrupts; it is used only at system startup.
SEE ALSO
BUGS
In this implementation, disable and restore are macros that must have local variable ps as an argument, and must use CVT(1) to convert the assembler code they produce to legal assembler.
December 01, 1986 — Xinu Programmer’s Manual