minix/include/sys/svrctl.h
Cristiano Giuffrida 65ef539739 Driver mapping refactory.
VFS CHANGES:
- dmap table no longer statically initialized in VFS
- Dropped FSSIGNON svrctl call no longer used by INET

INET CHANGES:
- INET announces its presence to VFS just like any other driver

RS CHANGES:
- The boot image dev table contains all the data to initialize VFS' dmap table
- RS interface supports asynchronous up and update operations now
- RS interface extended to support driver style and flags
2010-04-09 21:56:44 +00:00

31 lines
701 B
C

/*
sys/svrctl.h
Created: Feb 15, 1994 by Philip Homburg <philip@cs.vu.nl>
*/
#ifndef _SYS__SVRCTL_H
#define _SYS__SVRCTL_H
#ifndef _TYPES_H
#include <minix/types.h>
#endif
/* Server control commands have the same encoding as the commands for ioctls. */
#include <minix/ioctl.h>
/* PM controls. */
#define MMGETPARAM _IOW('M', 5, struct sysgetenv)
#define MMSETPARAM _IOR('M', 7, 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. */
};
_PROTOTYPE( int svrctl, (int _request, void *_data) );
#endif /* _SYS__SVRCTL_H */