OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [uio.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __LINUX_UIO_H
2
#define __LINUX_UIO_H
3
 
4
/*
5
 *      Berkeley style UIO structures   -       Alan Cox 1994.
6
 *
7
 *              This program is free software; you can redistribute it and/or
8
 *              modify it under the terms of the GNU General Public License
9
 *              as published by the Free Software Foundation; either version
10
 *              2 of the License, or (at your option) any later version.
11
 */
12
 
13
 
14
/* A word of warning: Our uio structure will clash with the C library one (which is now obsolete). Remove the C
15
   library one from sys/uio.h if you have a very old library set */
16
 
17
struct iovec
18
{
19
        void *iov_base;         /* BSD uses caddr_t (same thing in effect) */
20
        int iov_len;
21
};
22
 
23
#define UIO_MAXIOV      16      /* Maximum iovec's in one operation 
24
                                   16 matches BSD */
25
 
26
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.