common upgrades

Change-Id: I567fc15845b601019d346569ecfcef4f89687fd2
This commit is contained in:
2012-11-22 16:50:23 +01:00
parent 65c5a092c1
commit be89757ef5
50 changed files with 22 additions and 65 deletions

32
include/sys/svrctl.h Normal file
View File

@@ -0,0 +1,32 @@
/*
sys/svrctl.h
Created: Feb 15, 1994 by Philip Homburg <philip@cs.vu.nl>
*/
#ifndef _SYS__SVRCTL_H
#define _SYS__SVRCTL_H
#include <sys/types.h>
/* Server control commands have the same encoding as the commands for ioctls. */
#include <minix/ioctl.h>
/* PM controls. */
#define PMGETPARAM _IOW('M', 5, struct sysgetenv)
#define PMSETPARAM _IOR('M', 7, struct sysgetenv)
/* VFS controls */
#define VFSSETPARAM _IOR('M', 130, struct sysgetenv)
#define VFSGETPARAM _IOR('M', 131, struct sysgetenv)
struct sysgetenv {
char *key; /* Name requested. */
size_t keylen; /* Length of name including \0. */
char *val; /* Buffer for returned data. */
size_t vallen; /* Size of return data buffer. */
};
int svrctl(int _request, void *_data);
#endif /* _SYS__SVRCTL_H */