|
|
1.1 ! root 1: #ifndef __KERNEL___PL_H__ ! 2: #define __KERNEL___PL_H__ ! 3: ! 4: /* ! 5: * This internal header file is intended as the sole point of definition for ! 6: * the internal data type "__pl_t" and associated enumeration constants, from ! 7: * which the System V DDI/DKI data type "pl_t" is derived. ! 8: * ! 9: * If the definitions of the constants below are changed or augmented, please ! 10: * ensure that the same changes are made elsewhere for the benefit of the ! 11: * assembly-language code which uses similar constants. ! 12: */ ! 13: ! 14: ! 15: /* ! 16: * Processor priorities under the System V DDI/DKI are specified abstractly ! 17: * via the following types and names. The abstract priorities defined below ! 18: * must conform to the following partial order: ! 19: * plbase < pltimeout <= pldisk, plstr <= plhi ! 20: * ! 21: * The actual numeric values are system-dependent. The primitive numeric ! 22: * processor priorities from 0 (base) to 8 (totally disabled) to keep software ! 23: * independent of the machine-specific priority-manipulation data. ! 24: */ ! 25: ! 26: typedef enum { ! 27: invpl = -1, /* invalid processor priority */ ! 28: plbase = 0, /* block no interrupts */ ! 29: pltimeout = 1, /* ! 30: * block functions scheduled by ! 31: * itimeout and dtimeout ! 32: */ ! 33: pldisk = 5, /* block disk device interrupts */ ! 34: plstr = 5, /* block STREAMS interrupts */ ! 35: plhi = 8 /* block all interrupts */ ! 36: } __pl_t; ! 37: ! 38: ! 39: #endif /* ! defined (__KERNEL___PL_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.