.\" svrctl.2 .\" .\" Created: July, 1994 by Philip Homburg .TH svrctl 2 .SH NAME svrctl \- special server control functions .SH SYNOPSIS .nf .ft B #include int svrctl(u32_t \fIrequest\fP, void *\fIdata\fP); .ft R .fi .SH DESCRIPTION .B Svrctl allows root to control the kernel in various ways. This system call makes it easy to add new ways of setting and getting kernel parameters, but at the same time, backwards compatibility is not guaranteed. Read the include file to see what the struct's mentioned below look like. .PP Current requests are: .TP 5 .B MMGEXECCACHE Get the exec cache limit and usage in a \fBstruct mmexeccache\fP .TP .B MMSEXECCACHE Set the exec cache limit from a \fBstruct mmexeccache\fP .TP .B MMQUERYPARAM Get some of MMs internal state. .TP .B MMSIGNON Inform MM that the current process wants to become a server. .TP .B FSQUERYPARAM Get some of FSes internal state. .TP .B FSSIGNON Register a new device with FS. .TP .B FSGPIPEFS Get the device number of the file system used to hold pipes and buffered pipe data. .TP .B FSSPIPEFS Set the file system used for pipes. .TP .B FSDEVMAP Translate a device number to a task number, minor device pair using a \fBstruct fsdevmap\fP .TP .B SYSQUERYPARAM Get some of kernels internal state. .TP .B SYSSIGNON Inform the kernel that the process want to become a server. The processes task number is filled-in in a \fBstruct systaskinfo\fP. .TP .B SYSREQIRQ Ask the kernel to send an SIGINT or an INTERRUPT message when a certain hardware interrupt occurs. .SH "RETURN VALUES" .B Svrctl returns 0 upon success and -1 upon failure. .SH AUTHOR Philip Homburg .\" .\" $PchId: svrctl.2,v 1.3 1995/11/27 19:36:03 philip Exp $