This is spl.h in view mode; [Download] [Up]
/* * File: spl.h * Author: Avadis Tevanian, Jr. * * Define inline macros for spl routines. * * HISTORY * 21-May-91 Gregg Kellogg (gk) at NeXT * Moved public portion to exported directory. * * 14-May-90 Gregg Kellogg (gk) at NeXT * Changed SPLCLOCK from 6 to 3, as much scheduling code expects * splclock() == splsched(). Added splusclock(). * * 19-Jun-89 Mike DeMoney (mike) at NeXT * Modified to allow spl assertions in spl_measured.h */ #ifndef _KERNSERV_I386_SPL_H_ #define _KERNSERV_I386_SPL_H_ extern int spl7(void); extern int splhigh(void); extern int spl6(void); extern int spldma(void); extern int splusclock(void); extern int splsched(void); extern int splclock(void); extern int spl5(void); extern int spl4(void); extern int spl3(void); extern int splbio(void); extern int splimp(void); extern int splvm(void); extern int splnet(void); extern int spldevice(void); extern int spl2(void); extern int spl1(void); extern int spltty(void); extern int spl0(void); extern int splx(int ipl); extern int spln(int ipl); extern int ipltospl(int ipl); extern int curipl(void); #define IPLHIGH 7 #define IPLDMA 6 #define IPLUSCLOCK 6 #define IPLSCHED 6 #define IPLCLOCK 6 #define IPLBIO 3 #define IPLIMP 3 #define IPLVM 3 #define IPLNET 3 #define IPLDEVICE 3 #define IPLTTY 1 #endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.