summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-04-04 17:29:55 +0000
committerdes <des@FreeBSD.org>2003-04-04 17:29:55 +0000
commit5468286a89667ccea8bf58047707fe6b3b58f8a5 (patch)
tree78ef428aa1a0daeb9af91f6945cf0b45f53f3207 /sys/powerpc
parent01bed5d97bf4b3317c245d345ff0713026246566 (diff)
downloadFreeBSD-src-5468286a89667ccea8bf58047707fe6b3b58f8a5.zip
FreeBSD-src-5468286a89667ccea8bf58047707fe6b3b58f8a5.tar.gz
Define ovbcopy() as a macro which expands to the equivalent bcopy() call,
to take care of the KAME IPv6 code which needs ovbcopy() because NetBSD's bcopy() doesn't handle overlap like ours. Remove all implementations of ovbcopy(). Previously, bzero was a function pointer on i386, to save a jmp to bzero_vector. Get rid of this microoptimization as it only confuses things, adds machine-dependent code to an MD header, and doesn't really save all that much. This commit does not add my pagezero() / pagecopy() code.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/powerpc/bcopy.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/powerpc/powerpc/bcopy.c b/sys/powerpc/powerpc/bcopy.c
index c89b8c7..d4366d6 100644
--- a/sys/powerpc/powerpc/bcopy.c
+++ b/sys/powerpc/powerpc/bcopy.c
@@ -151,9 +151,3 @@ bcopy(const void *src0, void *dst0, size_t length)
memcpy(dst0, src0, length);
}
-void
-ovbcopy(const void *src0, void *dst0, size_t length)
-{
-
- memcpy(dst0, src0, length);
-}
OpenPOWER on IntegriCloud