HomeFreeBSD

Make memmove and bcopy share code

Description

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

Details

Provenance
impAuthored on
Differential Revision
D15374: Various rearrangements to make memmove a first class citizen
Parents
rS334182: Define memmove and make bcopy alt entry point
Branches
Unknown
Tags
Unknown