From e793e4d0b375c1e739afecc25d1c75a3e99b19f8 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Wed, 29 May 2002 05:56:05 +0000 Subject: Add pv list linkage and a pmap pointer to struct tte. Remove separately allocated pv entries and use the linkage in the tte for pv operations. --- sys/sparc64/include/pmap.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'sys/sparc64/include/pmap.h') diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h index 8034d5d2e06a..7af32d6ce0b0 100644 --- a/sys/sparc64/include/pmap.h +++ b/sys/sparc64/include/pmap.h @@ -54,14 +54,10 @@ #define pmap_resident_count(pm) (pm->pm_stats.resident_count) -struct pv_entry; - typedef struct pmap *pmap_t; -typedef struct pv_entry *pv_entry_t; struct md_page { - TAILQ_HEAD(, pv_entry) pv_list; - int pv_list_count; + STAILQ_HEAD(, tte) tte_list; int colors[DCACHE_COLORS]; }; @@ -73,14 +69,6 @@ struct pmap { struct pmap_statistics pm_stats; }; -struct pv_entry { - TAILQ_ENTRY(pv_entry) pv_list; - TAILQ_ENTRY(pv_entry) pv_plist; - pmap_t pv_pmap; - vm_offset_t pv_va; - vm_page_t pv_m; -}; - void pmap_bootstrap(vm_offset_t ekva); void pmap_context_rollover(void); vm_offset_t pmap_kextract(vm_offset_t va); -- cgit v1.2.3