Changeset 75b139f in mainline for kernel/generic/src/mm/as.c
- Timestamp:
- 2016-08-28T13:42:19Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 519a97d
- Parents:
- f2c3fed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
rf2c3fed r75b139f 2186 2186 { 2187 2187 uintptr_t virt = base; 2188 mem_backend_t *backend; 2189 mem_backend_data_t backend_data; 2190 2191 if (pager == AS_AREA_UNPAGED) 2192 backend = &anon_backend; 2193 else { 2194 backend = &user_backend; 2195 backend_data.pager = pager; 2196 } 2188 2197 as_area_t *area = as_area_create(AS, flags, size, 2189 AS_AREA_ATTR_NONE, &anon_backend, NULL, &virt, bound);2198 AS_AREA_ATTR_NONE, backend, &backend_data, &virt, bound); 2190 2199 if (area == NULL) 2191 2200 return (sysarg_t) AS_MAP_FAILED;
Note:
See TracChangeset
for help on using the changeset viewer.