summaryrefslogtreecommitdiffstats
path: root/sys/alpha
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/alpha
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/alpha')
-rw-r--r--sys/alpha/alpha/support.s7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/alpha/alpha/support.s b/sys/alpha/alpha/support.s
index 0ae8aa8..8977c2e 100644
--- a/sys/alpha/alpha/support.s
+++ b/sys/alpha/alpha/support.s
@@ -270,16 +270,11 @@ NESTED(copyoutstr, 4, 16, ra, 0, 0)
/*
* Copy a bytes within the kernel's address space.
- *
- * In the kernel, bcopy() doesn't have to handle the overlapping
- * case; that's that ovbcopy() is for. However, it doesn't hurt
- * to do both in bcopy, and it does provide a measure of safety.
+ * Handles overlapping regions.
*
* void bcopy(char *from, char *to, size_t len);
- * void ovbcopy(char *from, char *to, size_t len);
*/
LEAF(bcopy,3)
-XLEAF(ovbcopy,3)
/* Check for negative length */
ble a2,bcopy_done
OpenPOWER on IntegriCloud