minix/servers/vfs/dmap.h

29 lines
822 B
C
Raw Normal View History

#ifndef __VFS_DMAP_H__
#define __VFS_DMAP_H__
2007-08-07 14:52:47 +02:00
/*
dmap.h
*/
/*===========================================================================*
* Device <-> Driver Table *
*===========================================================================*/
/* Device table. This table is indexed by major device number. It provides
* the link between major device numbers and the routines that process them.
2012-02-13 16:28:04 +01:00
* The table can be update dynamically. The field 'dmap_flags' describe an
* entry's current status and determines what control options are possible.
2007-08-07 14:52:47 +02:00
*/
extern struct dmap {
int(*dmap_opcl) (int, dev_t, int, int);
int(*dmap_io) (int, message *);
endpoint_t dmap_driver;
char dmap_label[LABEL_MAX];
int dmap_flags;
int dmap_style;
struct filp *dmap_sel_filp;
2007-08-07 14:52:47 +02:00
} dmap[];
#endif