Module Name:    src
Committed By:   maxv
Date:           Wed Jun 24 18:09:37 UTC 2020

Modified Files:
        src/sys/arch/amd64/amd64: cpufunc.S
        src/sys/arch/i386/i386: cpufunc.S
        src/sys/arch/x86/include: pmap.h

Log Message:
remove unused x86_stos


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/i386/i386/cpufunc.S
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/x86/include/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/amd64/cpufunc.S
diff -u src/sys/arch/amd64/amd64/cpufunc.S:1.62 src/sys/arch/amd64/amd64/cpufunc.S:1.63
--- src/sys/arch/amd64/amd64/cpufunc.S:1.62	Mon Jun 15 20:27:30 2020
+++ src/sys/arch/amd64/amd64/cpufunc.S	Wed Jun 24 18:09:37 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpufunc.S,v 1.62 2020/06/15 20:27:30 riastradh Exp $	*/
+/*	$NetBSD: cpufunc.S,v 1.63 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*
  * Copyright (c) 1998, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -446,15 +446,6 @@ ENTRY(outl)
 	ret
 END(outl)
 
-ENTRY(x86_stos)
-	movq	%rsi,%rax
-	movq	%rdx,%rcx
-	KMSAN_REP_STOS(8)
-	rep
-	stosq
-	ret
-END(x86_stos)
-
 ENTRY(x86_movs)
 	movq	%rdx,%rcx
 	KMSAN_REP_STOS(8)

Index: src/sys/arch/i386/i386/cpufunc.S
diff -u src/sys/arch/i386/i386/cpufunc.S:1.47 src/sys/arch/i386/i386/cpufunc.S:1.48
--- src/sys/arch/i386/i386/cpufunc.S:1.47	Mon Jun 15 09:09:23 2020
+++ src/sys/arch/i386/i386/cpufunc.S	Wed Jun 24 18:09:37 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: cpufunc.S,v 1.47 2020/06/15 09:09:23 msaitoh Exp $	*/
+/*	$NetBSD: cpufunc.S,v 1.48 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2007, 2020 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/errno.h>
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.47 2020/06/15 09:09:23 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.48 2020/06/24 18:09:37 maxv Exp $");
 
 #include "opt_xen.h"
 
@@ -354,22 +354,6 @@ ENTRY(outl)
 	ret
 END(outl)
 
-ENTRY(x86_stos)
-	pushl	%ebp
-	movl	%esp,%ebp
-	pushl	%edi
-	pushl	%esi
-	movl	8(%ebp),%edi
-	movl	12(%ebp),%eax
-	movl	16(%ebp),%ecx
-	rep
-	stosl
-	popl	%esi
-	popl	%edi
-	leave
-	ret
-END(x86_stos)
-
 ENTRY(x86_movs)
 	pushl	%ebp
 	movl	%esp,%ebp

Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.122 src/sys/arch/x86/include/pmap.h:1.123
--- src/sys/arch/x86/include/pmap.h:1.122	Wed May 27 19:33:40 2020
+++ src/sys/arch/x86/include/pmap.h	Wed Jun 24 18:09:37 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.122 2020/05/27 19:33:40 ad Exp $	*/
+/*	$NetBSD: pmap.h,v 1.123 2020/06/24 18:09:37 maxv Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -612,7 +612,6 @@ extern vaddr_t pmap_direct_end;
 
 #endif /* __HAVE_DIRECT_MAP */
 
-void	x86_stos(void *, long, long);
 void	x86_movs(void *, void *, long);
 
 #endif /* _KERNEL */

Reply via email to