aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/include/pmap.h
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2002-05-29 05:56:05 +0000
committerJake Burkholder <jake@FreeBSD.org>2002-05-29 05:56:05 +0000
commite793e4d0b375c1e739afecc25d1c75a3e99b19f8 (patch)
treee5bcdc7e3ba2ba4f16ddbec01d90f1afaa0d5aa2 /sys/sparc64/include/pmap.h
parent35738638d6da22457eeb50724ade02706810402e (diff)
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.
Notes
Notes: svn path=/head/; revision=97446
Diffstat (limited to 'sys/sparc64/include/pmap.h')
-rw-r--r--sys/sparc64/include/pmap.h14
1 files changed, 1 insertions, 13 deletions
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);