Changeset 505eb55 in rtems


Ignore:
Timestamp:
Oct 26, 2016, 11:55:51 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1aae680
Parents:
8b8d05f
git-author:
Sebastian Huber <sebastian.huber@…> (10/26/16 11:55:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/26/16 12:05:49)
Message:

sys/uio.h: Update to FreeBSD head 2015-12-03

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/sys/uio.h

    r8b8d05f r505eb55  
    2828 *
    2929 *      @(#)uio.h       8.5 (Berkeley) 2/22/94
    30  * $FreeBSD$
     30 * $FreeBSD: head/sys/sys/uio.h 291716 2015-12-03 20:54:55Z ken $
    3131 */
    3232
    33 #ifndef _SYS_UIO_HH_
    34 #define _SYS_UIO_HH_
     33#ifndef _SYS_UIO_H_
     34#define _SYS_UIO_H_
    3535
    3636#include <sys/cdefs.h>
    37 #ifdef __rtems__
    38 #include <sys/types.h>
    39 #endif /* __rtems__ */
    4037#include <sys/_types.h>
    4138#include <sys/_iovec.h>
    4239
    43 #ifndef __rtems__
    4440#ifndef _SSIZE_T_DECLARED
    4541typedef __ssize_t       ssize_t;
     
    5147#define _OFF_T_DECLARED
    5248#endif
    53 #endif /* !__rtems__ */
    5449
    5550#if __BSD_VISIBLE
     
    9186struct vm_object;
    9287struct vm_page;
     88struct bus_dma_segment;
    9389
    9490struct uio *cloneuio(struct uio *uiop);
    9591int     copyinfrom(const void * __restrict src, void * __restrict dst,
    9692            size_t len, int seg);
    97 int     copyiniov(struct iovec *iovp, u_int iovcnt, struct iovec **iov,
     93int     copyiniov(const struct iovec *iovp, u_int iovcnt, struct iovec **iov,
    9894            int error);
    9995int     copyinstrfrom(const void * __restrict src, void * __restrict dst,
    10096            size_t len, size_t * __restrict copied, int seg);
    101 int     copyinuio(struct iovec *iovp, u_int iovcnt, struct uio **uiop);
    102 void    uio_yield(void);
     97int     copyinuio(const struct iovec *iovp, u_int iovcnt, struct uio **uiop);
     98int     copyout_map(struct thread *td, vm_offset_t *addr, size_t sz);
     99int     copyout_unmap(struct thread *td, vm_offset_t addr, size_t sz);
     100#ifndef __rtems__
     101int     physcopyin(void *src, vm_paddr_t dst, size_t len);
     102int     physcopyout(vm_paddr_t src, void *dst, size_t len);
     103int     physcopyin_vlist(struct bus_dma_segment *src, off_t offset,
     104            vm_paddr_t dst, size_t len);
     105int     physcopyout_vlist(vm_paddr_t src, struct bus_dma_segment *dst,
     106            off_t offset, size_t len);
     107#endif /* __rtems__ */
    103108int     uiomove(void *cp, int n, struct uio *uio);
    104109int     uiomove_frombuf(void *buf, int buflen, struct uio *uio);
     
    106111int     uiomove_fromphys(struct vm_page *ma[], vm_offset_t offset, int n,
    107112            struct uio *uio);
    108 #endif /* !__rtems__ */
    109 int     uiomoveco(void *cp, int n, struct uio *uio, int disposable);
     113#endif /* __rtems__ */
     114int     uiomove_nofault(void *cp, int n, struct uio *uio);
     115int     uiomove_object(struct vm_object *obj, off_t obj_size, struct uio *uio);
    110116
    111117#else /* !_KERNEL */
     
    122128#endif /* _KERNEL */
    123129
    124 #endif /* !_SYS_UIO_HH_ */
     130#endif /* !_SYS_UIO_H_ */
Note: See TracChangeset for help on using the changeset viewer.