1/* 2 * Copyright (c) 1991 Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * the Systems Programming Group of the University of Utah Computer 7 * Science Department and William Jolitz of UUNET Technologies Inc. 8 * --- 23 unchanged lines hidden (view full) --- 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90 38 * from: @(#)pmap.h 7.4 (Berkeley) 5/12/91 39 * from: FreeBSD: src/sys/i386/include/pmap.h,v 1.70 2000/11/30 |
40 * $FreeBSD: head/sys/sparc64/include/pmap.h 91288 2002-02-26 06:57:30Z jake $ |
41 */ 42 43#ifndef _MACHINE_PMAP_H_ 44#define _MACHINE_PMAP_H_ 45 46#include <machine/tte.h> 47 48#define DCACHE_COLOR_BITS (1) --- 16 unchanged lines hidden (view full) --- 65 int colors[DCACHE_COLORS]; 66}; 67 68struct pmap { 69 TAILQ_HEAD(,pv_entry) pm_pvlist; 70 struct tte *pm_tsb; 71 vm_object_t pm_tsb_obj; 72 u_int pm_active; |
73 u_int pm_context[MAXCPU]; |
74 u_int pm_count; 75 struct pmap_statistics pm_stats; 76}; 77 78struct pv_entry { 79 TAILQ_ENTRY(pv_entry) pv_list; 80 TAILQ_ENTRY(pv_entry) pv_plist; 81 pmap_t pv_pmap; --- 39 unchanged lines hidden --- |