Changeset ef67bab in mainline for generic/include/mm/as.h
- Timestamp:
- 2006-02-01T00:02:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 071a8ae6
- Parents:
- fc1e4f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/as.h
rfc1e4f6 ref67bab 81 81 SPINLOCK_DECLARE(lock); 82 82 link_t as_area_head; 83 pte_t *ptl0; 84 asid_t asid; /**< Address space identifier. */ 83 84 /** Page table pointer. Constant on architectures that use global page hash table. */ 85 pte_t *page_table; 86 87 /** Address space identifier. Constant on architectures that do not support ASIDs.*/ 88 asid_t asid; 85 89 }; 86 90 91 struct as_operations { 92 pte_t *(* page_table_create)(int flags); 93 }; 94 typedef struct as_operations as_operations_t; 95 87 96 extern as_t *AS_KERNEL; 97 extern as_operations_t *as_operations; 88 98 89 extern as_t *as_create(pte_t *ptl0, int flags); 99 extern void as_init(void); 100 extern as_t *as_create(int flags); 90 101 extern as_area_t *as_area_create(as_t *as, as_area_type_t type, size_t size, __address base); 91 102 extern void as_set_mapping(as_t *as, __address page, __address frame);
Note:
See TracChangeset
for help on using the changeset viewer.