diff options
author | peter <peter@FreeBSD.org> | 2002-06-20 07:08:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-06-20 07:08:43 +0000 |
commit | 72c289faf4819f8733ef7488d70a29df4faef764 (patch) | |
tree | b5e5e8ae7895da9c7540b0fd28fc72cb0d1ab3cc | |
parent | 6fd22c72af18dd37f3453f326991f5b0243cc2ea (diff) | |
download | FreeBSD-src-72c289faf4819f8733ef7488d70a29df4faef764.zip FreeBSD-src-72c289faf4819f8733ef7488d70a29df4faef764.tar.gz |
Remove UIO_USERISPACE - we do not support any split instruction/data
address space machines (eg: pdp-11) and are not likely to ever do so.
Nothing in our kernel sets this.
-rw-r--r-- | sys/kern/kern_subr.c | 6 | ||||
-rw-r--r-- | sys/sys/uio.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 73aa75b..b6ca2cb 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -96,7 +96,6 @@ uiomove(cp, n, uio) switch (uio->uio_segflg) { case UIO_USERSPACE: - case UIO_USERISPACE: if (ticks - PCPU_GET(switchticks) >= hogticks) uio_yield(); if (uio->uio_rw == UIO_READ) @@ -168,7 +167,6 @@ uiomoveco(cp, n, uio, obj) switch (uio->uio_segflg) { case UIO_USERSPACE: - case UIO_USERISPACE: if (ticks - PCPU_GET(switchticks) >= hogticks) uio_yield(); if (uio->uio_rw == UIO_READ) { @@ -311,10 +309,6 @@ again: *iov->iov_base = c; break; - case UIO_USERISPACE: - if (suibyte(iov->iov_base, c) < 0) - return (EFAULT); - break; case UIO_NOCOPY: break; } diff --git a/sys/sys/uio.h b/sys/sys/uio.h index e09ca3f..ac5ca5f 100644 --- a/sys/sys/uio.h +++ b/sys/sys/uio.h @@ -52,7 +52,6 @@ enum uio_rw { UIO_READ, UIO_WRITE }; enum uio_seg { UIO_USERSPACE, /* from user data space */ UIO_SYSSPACE, /* from system space */ - UIO_USERISPACE, /* from user I space */ UIO_NOCOPY /* don't copy, already in object */ }; |