Added new signal types for kernel events:

- SIGKMESS: new kernel message (sent to TTY, IS, or LOG)
- SIGKSTOP: MINIX is shut down (sent to TTY-> switch to primary console)
- SIGKSIG: kernel signals pending (sent to PM)

Renamed SYS_SETPRIORITY to SYS_NICE.
This commit is contained in:
Jorrit Herder
2005-07-19 12:24:51 +00:00
parent 198c976f7e
commit 0129d98ae1
8 changed files with 35 additions and 29 deletions

13
lib/syslib/sys_nice.c Executable file
View File

@@ -0,0 +1,13 @@
#include "syslib.h"
/*===========================================================================*
* sys_nice *
*===========================================================================*/
PUBLIC int sys_nice(int proc, int prio)
{
message m;
m.m1_i1 = proc;
m.m1_i2 = prio;
return(_taskcall(SYSTASK, SYS_NICE, &m));
}