Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch remove unused x86_stos
details: https://anonhg.NetBSD.org/src/rev/5b9d4353c611
branches: trunk
changeset: 935101:5b9d4353c611
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jun 24 18:09:37 2020 +0000
description:
remove unused x86_stos
diffstat:
sys/arch/amd64/amd64/cpufunc.S | 11 +----------
sys/arch/i386/i386/cpufunc.S | 20 ++------------------
sys/arch/x86/include/pmap.h | 3 +--
3 files changed, 4 insertions(+), 30 deletions(-)
diffs (83 lines):
diff -r 0619a8866b92 -r 5b9d4353c611 sys/arch/amd64/amd64/cpufunc.S
--- a/sys/arch/amd64/amd64/cpufunc.S Wed Jun 24 18:06:01 2020 +0000
+++ b/sys/arch/amd64/amd64/cpufunc.S Wed Jun 24 18:09:37 2020 +0000
@@ -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 @@
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)
diff -r 0619a8866b92 -r 5b9d4353c611 sys/arch/i386/i386/cpufunc.S
--- a/sys/arch/i386/i386/cpufunc.S Wed Jun 24 18:06:01 2020 +0000
+++ b/sys/arch/i386/i386/cpufunc.S Wed Jun 24 18:09:37 2020 +0000
@@ -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 @@
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
diff -r 0619a8866b92 -r 5b9d4353c611 sys/arch/x86/include/pmap.h
--- a/sys/arch/x86/include/pmap.h Wed Jun 24 18:06:01 2020 +0000
+++ b/sys/arch/x86/include/pmap.h Wed Jun 24 18:09:37 2020 +0000
@@ -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 @@
#endif /* __HAVE_DIRECT_MAP */
-void x86_stos(void *, long, long);
void x86_movs(void *, void *, long);
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index