[Libsysio-commit] gmdev: libsysio/include dev.h inode.h
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2004-03-04 18:29:29
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3889/include Modified Files: Tag: gmdev dev.h inode.h Log Message: The gmdev branch records what is currently sitting in the Cplant repository. Changes to fs_yod.c also make it compatible with the strided-io mods. Index: dev.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/dev.h,v retrieving revision 1.6 retrieving revision 1.6.2.1 diff -u -w -b -B -p -r1.6 -r1.6.2.1 --- dev.h 6 Feb 2004 20:07:29 -0000 1.6 +++ dev.h 4 Mar 2004 18:08:06 -0000 1.6.2.1 @@ -133,6 +133,13 @@ extern const struct inode_ops _sysio_nod (int (*)(struct pnode *, \ mode_t, \ dev_t))_sysio_dev_illop +#define _sysio_nodev_inop_mmap \ + (void *(*)(struct inode *, \ + void *, \ + size_t, \ + int, \ + int, \ + _SYSIO_OFF_T))_sysio_dev_illop #ifdef _HAVE_STATVFS #define _sysio_nodev_inop_statvfs \ (int (*)(struct pnode *, \ Index: inode.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v retrieving revision 1.15 retrieving revision 1.15.2.1 diff -u -w -b -B -p -r1.15 -r1.15.2.1 --- inode.h 14 Feb 2004 19:42:58 -0000 1.15 +++ inode.h 4 Mar 2004 18:08:06 -0000 1.15.2.1 @@ -107,6 +107,12 @@ struct inode_ops { int (*inop_datasync)(struct inode *ino); int (*inop_ioctl)(struct inode *ino, unsigned long int request, va_list ap); int (*inop_mknod)(struct pnode *pno, mode_t mode, dev_t dev); + void *(*inop_mmap)(struct inode *ino, + void *start, + size_t length, + int prot, + int flags, + _SYSIO_OFF_T offset); #ifdef _HAVE_STATVFS int (*inop_statvfs)(struct pnode *pno, struct inode *ino, |