/* * h/sys/realtime.h * */ #define PRIDC 20 /* priority of sleep */ /* * defines for rtstatus variable (handles disk auto-mount * and unmount). */ #define RTBUSY 1 /* busy handing auto-mount */ #define RTSLEEPING 2 /* sleeping */ #define RTDISABLED 4 /* disabled by an application */ #define RTWANTED 8 /* another process is sleeping while auto-mount is busy */ #define RTUPDATE 16 /* issue an update call when awakened */ /* * other ioctl calls (these really should be in pisces.h */ #define DIAG_OFF 9 /* turn off kernel diagnostic prints */ #define DIAG_DISP 10 /* send kernel print to display via serial */ #define DIAG_PRINT 11 /* send kernel print to internal printer */ #define PRE_EMPT 15 /* return to 'normal' pre-empting scheduling */ #define NO_PRE_EMPT 16 /* disable pre-emptive scheduling */ #define PANIC_OS 17 /* cause the os to panic by bad mem ref */ #define NEWDVR 22 /* allocate kernel memory for a new driver * and get the user some relavent info */ #define RMDVR 23 /* remove the driver memory (i.e. free it) * aquired through previous NEWDVR ioctl call */ #define PSINFO 24 /* get proc, text, and rammap table locations * for user */ #define RAMTEST_REPORT (('R' << 8) | 25) /* return ramtest stats */ /* * the following two ioctls allow a primitive communication between the * .daemon process and the browser as to the meaning of the SIGUSR1 * signal. */ #define SET_BROWSER_SIGNAL_TYPE (('R' << 8) | 26) #define READ_BROWSER_SIGNAL_TYPE (('R' << 8) | 27) #define SETPGRP (('R' << 8) | 28) /* set the process grp num */ /* * the following are the possible legal values for the signal type */ #define CD_TO_DIRECTORY 0 /* chdir to the new directory, maybe */ #define REALLY_CD_TO_DIRECTORY 1 /* forced chdir to the new directory */ #define REDISPLAY_CD 2 /* just redisplay the cwd */