5.4 Interrupt Management Functions
Interrupt handling is largely hardware-dependent, di.ering with each system, and therefore di.cult to standardize. The following are given as standard specifications, but it may not be possible to follow these exactly on all systems. Implementors should strive to comply with these specifications to the extent possible; but where implementation is not feasible, full compliance is not mandatory. If functions not in the standard specifications are added, however, the function names must be di.erent from those given here. In any case, DI, and isDI() must be implemented in accord with the standard specifications.
Interrupt management functions are provided as library functions or C language macros. These can be called from a task-independent portion and while dispatching and interrupts are disabled.

Comments