Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/include remove unused and #if 0'd since intro...



details:   https://anonhg.NetBSD.org/src/rev/f6a242d9aa10
branches:  trunk
changeset: 1017187:f6a242d9aa10
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Dec 18 00:45:52 2020 +0000

description:
remove unused and #if 0'd since introduced in 1996 struct kvm_cpustate.
sparc kvm was handled differently for the sun4m port.

diffstat:

 sys/arch/sparc/include/pmap.h |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r 45bdcb22c1dd -r f6a242d9aa10 sys/arch/sparc/include/pmap.h
--- a/sys/arch/sparc/include/pmap.h     Thu Dec 17 08:47:18 2020 +0000
+++ b/sys/arch/sparc/include/pmap.h     Fri Dec 18 00:45:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.94 2020/09/06 10:48:21 mrg Exp $ */
+/*     $NetBSD: pmap.h,v 1.95 2020/12/18 00:45:52 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -183,15 +183,6 @@
        int8_t  sg_nwired;              /* number of wired pages */
 };
 
-#if 0
-struct kvm_cpustate {
-       int             kvm_npmemarr;
-       struct memarr   kvm_pmemarr[MA_SIZE];
-       int             kvm_seginval;                   /* [4,4c] */
-       struct segmap   kvm_segmap_store[NKREG*NSEGRG]; /* [4,4c] */
-}/*not yet used*/;
-#endif
-
 #ifdef _KERNEL
 
 #define PMAP_NULL      ((pmap_t)0)



Home | Main Index | Thread Index | Old Index