Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ disable(3) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cvt(1)

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

cvt(1)

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

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