Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144610177
D16232.1775752681.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16232.1775752681.diff
View Options
Index: head/sys/powerpc/include/pmap.h
===================================================================
--- head/sys/powerpc/include/pmap.h
+++ head/sys/powerpc/include/pmap.h
@@ -150,12 +150,6 @@
struct pvo_tree pmap_pvo;
};
-struct md_page {
- volatile int32_t mdpg_attrs;
- vm_memattr_t mdpg_cache_attrs;
- struct pvo_head mdpg_pvoh;
-};
-
#define pmap_page_get_memattr(m) ((m)->md.mdpg_cache_attrs)
#define pmap_page_is_mapped(m) (!LIST_EMPTY(&(m)->md.mdpg_pvoh))
@@ -212,11 +206,6 @@
};
typedef struct pv_entry *pv_entry_t;
-struct md_page {
- TAILQ_HEAD(, pv_entry) pv_list;
- int pv_tracked;
-};
-
#define pmap_page_get_memattr(m) VM_MEMATTR_DEFAULT
#define pmap_page_is_mapped(m) (!TAILQ_EMPTY(&(m)->md.pv_list))
@@ -231,6 +220,20 @@
struct mtx pm_mtx; /* pmap mutex */
};
#endif /* AIM */
+
+struct md_page {
+ union {
+ struct md_page_booke {
+ TAILQ_HEAD(, pv_entry) pv_list;
+ int pv_tracked;
+ };
+ struct md_page_aim {
+ volatile int32_t mdpg_attrs;
+ vm_memattr_t mdpg_cache_attrs;
+ struct pvo_head mdpg_pvoh;
+ };
+ };
+};
extern struct pmap kernel_pmap_store;
#define kernel_pmap (&kernel_pmap_store)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 4:38 PM (6 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28309243
Default Alt Text
D16232.1775752681.diff (1 KB)
Attached To
Mode
D16232: Merge the md_page structs for AIM and Book-E into a single unioned struct
Attached
Detach File
Event Timeline
Log In to Comment