mirror of
https://github.com/opnsense/src.git
synced 2026-06-29 02:13:01 -04:00
This patch enabled usage of SIMD enhanced functions to implement bcopy and bzero. Tested by: fuz (exprun) Reviewed by: fuz, emaste Sponsored by: Google LLC (GSoC 2024) PR: 281175 Differential Revision: https://reviews.freebsd.org/D46459
14 lines
165 B
C
14 lines
165 B
C
/*-
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
#undef bcopy /* _FORTIFY_SOURCE */
|
|
|
|
void
|
|
bcopy(const void *src, void *dst, size_t len)
|
|
{
|
|
|
|
memmove(dst, src, len);
|
|
}
|