summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/pmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/include/pmap.h')
-rw-r--r--sys/sparc64/include/pmap.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/sparc64/include/pmap.h b/sys/sparc64/include/pmap.h
index 427074a..d0a11fa 100644
--- a/sys/sparc64/include/pmap.h
+++ b/sys/sparc64/include/pmap.h
@@ -55,16 +55,17 @@
#define PMAP_CONTEXT_MAX 8192
-#define pmap_page_is_mapped(m) (!STAILQ_EMPTY(&(m)->md.tte_list))
+#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.tte_list))
#define pmap_resident_count(pm) (pm->pm_stats.resident_count)
typedef struct pmap *pmap_t;
struct md_page {
- STAILQ_HEAD(, tte) tte_list;
- int colors[DCACHE_COLORS];
- int color;
- int flags;
+ TAILQ_HEAD(, tte) tte_list;
+ struct pmap *pmap;
+ uint32_t colors[DCACHE_COLORS];
+ int32_t color;
+ uint32_t flags;
};
struct pmap {
OpenPOWER on IntegriCloud