Changeset 1433ecda in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r47b2d7e3 r1433ecda 126 126 127 127 typedef struct { 128 pte_t *(* 129 void (* 130 void (* 131 void (* 132 bool (* 128 pte_t *(*page_table_create)(unsigned int); 129 void (*page_table_destroy)(pte_t *); 130 void (*page_table_lock)(as_t *, bool); 131 void (*page_table_unlock)(as_t *, bool); 132 bool (*page_table_locked)(as_t *); 133 133 } as_operations_t; 134 134 … … 237 237 /** Address space area backend structure. */ 238 238 typedef struct mem_backend { 239 bool (* 240 bool (* 241 void (* 242 void (* 243 244 bool (* 245 bool (* 246 247 int (* 248 void (* 249 250 bool (* 251 void (* 239 bool (*create)(as_area_t *); 240 bool (*resize)(as_area_t *, size_t); 241 void (*share)(as_area_t *); 242 void (*destroy)(as_area_t *); 243 244 bool (*is_resizable)(as_area_t *); 245 bool (*is_shareable)(as_area_t *); 246 247 int (*page_fault)(as_area_t *, uintptr_t, pf_access_t); 248 void (*frame_free)(as_area_t *, uintptr_t, uintptr_t); 249 250 bool (*create_shared_data)(as_area_t *); 251 void (*destroy_shared_data)(void *); 252 252 } mem_backend_t; 253 253
Note:
See TracChangeset
for help on using the changeset viewer.