Changeset f8ddd17 in mainline for kernel/generic/include/mm
- Timestamp:
- 2006-12-09T20:20:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b82a13c
- Parents:
- 9ab9c2ec
- Location:
- kernel/generic/include/mm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r9ab9c2ec rf8ddd17 95 95 asid_t asid; 96 96 97 #ifdef CONFIG_VIRT_IDX_DCACHE98 bool dcache_flush_on_install;99 bool dcache_flush_on_deinstall;100 #endif /* CONFIG_VIRT_IDX_DCACHE */101 102 97 /** Architecture specific content. */ 103 98 as_arch_t arch; … … 166 161 /** Data to be used by the backend. */ 167 162 mem_backend_data_t backend_data; 168 169 /**170 * Virtual color of the original address space area that was at the beginning171 * of the share chain.172 */173 int orig_color;174 163 }; 175 164 -
kernel/generic/include/mm/page.h
r9ab9c2ec rf8ddd17 71 71 * Macro for computing page color. 72 72 */ 73 #define PAGE_COLOR(va) 73 #define PAGE_COLOR(va) (((va) >> PAGE_WIDTH) & ((1 << PAGE_COLOR_BITS) - 1)) 74 74 75 75 /** Page fault access type. */ … … 83 83 /** Operations to manipulate page mappings. */ 84 84 struct page_mapping_operations { 85 void (* mapping_insert)(as_t *as, uintptr_t page, uintptr_t frame, int flags); 85 void (* mapping_insert)(as_t *as, uintptr_t page, uintptr_t frame, int 86 flags); 86 87 void (* mapping_remove)(as_t *as, uintptr_t page); 87 88 pte_t *(* mapping_find)(as_t *as, uintptr_t page); … … 94 95 extern void page_table_lock(as_t *as, bool lock); 95 96 extern void page_table_unlock(as_t *as, bool unlock); 96 extern void page_mapping_insert(as_t *as, uintptr_t page, uintptr_t frame, int flags); 97 extern void page_mapping_insert(as_t *as, uintptr_t page, uintptr_t frame, int 98 flags); 97 99 extern void page_mapping_remove(as_t *as, uintptr_t page); 98 100 extern pte_t *page_mapping_find(as_t *as, uintptr_t page);
Note:
See TracChangeset
for help on using the changeset viewer.