Stop overloading unused bits in the pte. Use the low 12bits of the vaddr

instead to store them.  Add a macro to fetch the vaddr without them.
Make all variables/routines prefixed with pmap_
Cleanup & fix some of the vsid bitmap usage.
Cleanup DEBUG printfs.  Add some more checks to pmap_pvo_to_pte.
This commit is contained in:
matt 2001-06-15 18:26:06 +00:00
parent af712809f8
commit c7c7dab8f1
2 changed files with 280 additions and 254 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pte.h,v 1.1 2001/06/06 17:36:03 matt Exp $ */
/* $NetBSD: pte.h,v 1.2 2001/06/15 18:26:06 matt Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -64,11 +64,6 @@ struct pte {
#define PTE_RO 0x00000003
#define PTE_RW 0x00000002
#define PTE_RSVD 0x00000e04
#define PTE_WIRED 0x00000004
#define PTE_GIDX_MASK 0x00000e00
#define PTE_GIDX_SHFT 9
#ifndef _LOCORE
typedef struct pte pte_t;
#endif /* _LOCORE */

File diff suppressed because it is too large Load Diff