Garbage-collect pm_stchanged; it's not used by anything.

This commit is contained in:
thorpej 1998-01-06 07:02:58 +00:00
parent d11b109f2b
commit 61567b54de
12 changed files with 12 additions and 36 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.42 1998/01/06 06:51:40 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.43 1998/01/06 07:02:58 thorpej Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@ -904,7 +904,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -1191,7 +1190,6 @@ pmap_remove(pmap, sva, eva)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2283,7 +2281,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.21 1998/01/06 06:51:42 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.22 1998/01/06 07:03:00 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -48,7 +48,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
u_int *pm_stpa; /* 040: ST phys addr */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.23 1998/01/06 06:51:43 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.24 1998/01/06 07:03:01 thorpej Exp $ */
/*
* Copyright (c) 1991 Regents of the University of California.
@ -810,7 +810,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -1091,7 +1090,6 @@ pmap_remove(pmap, sva, eva)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2179,7 +2177,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.15 1998/01/06 06:51:45 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.16 1998/01/06 07:03:03 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -49,7 +49,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
u_int *pm_stpa; /* 040: ST phys. address */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.38 1998/01/06 06:51:46 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.39 1998/01/06 07:03:04 thorpej Exp $ */
/*
* Copyright (c) 1991, 1993
@ -716,7 +716,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -2180,7 +2179,6 @@ pmap_remove_mapping(pmap, va, pte, flags)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2426,7 +2424,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.17 1998/01/06 06:51:47 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.18 1998/01/06 07:03:06 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -61,7 +61,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
st_entry_t *pm_stpa; /* 040: ST phys addr */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.20 1998/01/06 06:51:48 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.21 1998/01/06 07:03:09 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -95,7 +95,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
st_entry_t *pm_stpa; /* 040: ST phys addr */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.34 1998/01/06 06:51:50 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.35 1998/01/06 07:03:07 thorpej Exp $ */
/*
* Copyright (c) 1991, 1993
@ -706,7 +706,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -1806,7 +1805,6 @@ pmap_remove_mapping(pmap, va, pte, flags)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2024,7 +2022,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.7 1998/01/06 06:51:52 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.8 1998/01/06 07:03:10 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -57,7 +57,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
st_entry_t *pm_stpa; /* 040: ST phys addr */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.10 1998/01/06 06:51:53 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.11 1998/01/06 07:03:11 thorpej Exp $ */
/*
* Copyright (c) 1991, 1993
@ -812,7 +812,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -2277,7 +2276,6 @@ pmap_remove_mapping(pmap, va, pte, flags)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2521,7 +2519,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.6 1998/01/06 06:51:55 thorpej Exp $ */
/* $NetBSD: pmap.h,v 1.7 1998/01/06 07:03:12 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@ -61,7 +61,6 @@
struct pmap {
pt_entry_t *pm_ptab; /* KVA of page table */
st_entry_t *pm_stab; /* KVA of segment table */
int pm_stchanged; /* ST changed */
int pm_stfree; /* 040: free lev2 blocks */
st_entry_t *pm_stpa; /* 040: ST phys addr */
short pm_sref; /* segment table ref count */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.13 1998/01/06 06:51:56 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.14 1998/01/06 07:03:14 thorpej Exp $ */
/*
* Copyright (c) 1991, 1993
@ -745,7 +745,6 @@ pmap_pinit(pmap)
if (mmutype == MMU_68040)
pmap->pm_stfree = protostfree;
#endif
pmap->pm_stchanged = TRUE;
pmap->pm_count = 1;
simple_lock_init(&pmap->pm_lock);
}
@ -2231,7 +2230,6 @@ pmap_remove_mapping(pmap, va, pte, flags)
if (mmutype == MMU_68040)
ptpmap->pm_stfree = protostfree;
#endif
ptpmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table
* pointer for current process so
@ -2483,7 +2481,6 @@ pmap_enter_ptpage(pmap, va)
pmap->pm_stfree = protostfree;
}
#endif
pmap->pm_stchanged = TRUE;
/*
* XXX may have changed segment table pointer for current
* process so update now to reload hardware.