mirror of
https://github.com/opnsense/src.git
synced 2026-03-14 22:53:16 -04:00
This is a depessimization, see r334537 for an explanation. Routines remain significantly slower than they have to be. bzero was removed from the kernel but remains in libc. Macroify to accommodate differences to memset (no return value, always setting to 0). The bzero.S file is left in place due to libc build magic which pulls in a C variant if a matching .S file is missing. Reviewed by: kib Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D17355
7 lines
99 B
ArmAsm
7 lines
99 B
ArmAsm
/* $FreeBSD */
|
|
|
|
#include <machine/asm.h>
|
|
__FBSDID("$FreeBSD$");
|
|
|
|
#define BZERO
|
|
#include "memset.S"
|