]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make memmove and bcopy share code
authorimp <imp@FreeBSD.org>
Thu, 24 May 2018 21:11:33 +0000 (21:11 +0000)
committerimp <imp@FreeBSD.org>
Thu, 24 May 2018 21:11:33 +0000 (21:11 +0000)
commitc98da3edadebfc2bc0c01771a44febfda5e44122
tree524a5748aa18fd321fd1343aee7fa7448bb92ff1
parentc3a9ad4684888c6468b28ca60869f6ca301df1a4
Make memmove and bcopy share code

Make memmove the primary interface, but have bcopy be an alternative
entry point that jumps into memmove. This will slightly pessimize
bcopy calls, but those are about to get much rarer. Return dst always,
but it will be ignored by bcopy callers. We can remove just the alt
entry point if we ever remove bcopy entirely.

Differential Revision: https://reviews.freebsd.org/D15374
sys/conf/files.i386
sys/i386/i386/support.s