Changes in kernel/generic/include/mm/as.h [ba2be23:83b6ba9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
rba2be23 r83b6ba9f 140 140 /** This structure can be deallocated if refcount drops to 0. */ 141 141 size_t refcount; 142 142 /** True if the area has been ever shared. */ 143 bool shared; 144 143 145 /** 144 146 * B+tree containing complete map of anonymous pages of the shared area. 145 147 */ 146 148 btree_t pagemap; 149 150 /** Address space area backend. */ 151 struct mem_backend *backend; 152 /** Address space area shared data. */ 153 void *backend_shared_data; 147 154 } share_info_t; 148 155 … … 169 176 uintptr_t base; 170 177 size_t frames; 178 bool anonymous; 171 179 }; 172 180 } mem_backend_data_t; … … 226 234 int (* page_fault)(as_area_t *, uintptr_t, pf_access_t); 227 235 void (* frame_free)(as_area_t *, uintptr_t, uintptr_t); 236 237 bool (* create_shared_data)(as_area_t *); 238 void (* destroy_shared_data)(void *); 228 239 } mem_backend_t; 229 240
Note:
See TracChangeset
for help on using the changeset viewer.