Page MenuHomeFreeBSD

D31217.diff
No OneTemporary

D31217.diff

diff --git a/sys/libkern/arm/memclr.S b/sys/libkern/arm/memclr.S
--- a/sys/libkern/arm/memclr.S
+++ b/sys/libkern/arm/memclr.S
@@ -32,11 +32,13 @@
* This implements
* void __aeabi_memclr4(void *dest, size_t len)
* by calling:
- * void bzero(dest, len)
+ * void *memset(dest, 0, len)
*/
ENTRY_NP(__aeabi_memclr4)
EENTRY_NP(__aeabi_memclr8)
- b bzero
+ mov r2, r1
+ mov r1, #0
+ b memset
EEND(__aeabi_memclr8)
END(__aeabi_memclr4)

File Metadata

Mime Type
text/plain
Expires
Thu, May 28, 6:46 PM (5 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33590738
Default Alt Text
D31217.diff (447 B)

Event Timeline