Changeset f8ddd17 in mainline for kernel/generic/include/mm/page.h
- Timestamp:
- 2006-12-09T20:20:50Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b82a13c
- Parents:
- 9ab9c2ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.