git: a12111562116 - main - arm: retire bzero
Mateusz Guzik
mjg at FreeBSD.org
Mon Aug 23 13:25:27 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=a1211156211634ab713c7e910fdc70485b7c9193
commit a1211156211634ab713c7e910fdc70485b7c9193
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-07-19 13:46:20 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-08-23 13:23:42 +0000
arm: retire bzero
Same as bcopy.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/arm/arm/support.S | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/sys/arm/arm/support.S b/sys/arm/arm/support.S
index 9390b03f62a3..bd2a3ad07805 100644
--- a/sys/arm/arm/support.S
+++ b/sys/arm/arm/support.S
@@ -104,11 +104,6 @@ __FBSDID("$FreeBSD$");
* On exit:
* r0 - dest address
*/
-/* LINTSTUB: Func: void bzero(void *, size_t) */
-ENTRY(bzero)
- mov r3, #0x00
- b do_memset
-END(bzero)
/* LINTSTUB: Func: void *memset(void *, int, size_t) */
ENTRY(memset)
and r3, r1, #0xff /* We deal with bytes */
@@ -213,8 +208,7 @@ do_memset:
strbge r3, [ip], #0x01 /* Set another byte */
strbgt r3, [ip] /* and a third */
RET /* Exit */
-EEND(memset)
-END(bzero)
+END(memset)
ENTRY(memcmp)
mov ip, r0
More information about the dev-commits-src-main
mailing list