Changeset 1564c4b in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2011-06-08T19:39:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2af29ed
- Parents:
- e686889c (diff), 0eff68e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
re686889c r1564c4b 84 84 #define USER_ADDRESS_SPACE_END USER_ADDRESS_SPACE_END_ARCH 85 85 86 #define USTACK_ADDRESS USTACK_ADDRESS_ARCH 86 #ifdef USTACK_ADDRESS_ARCH 87 #define USTACK_ADDRESS USTACK_ADDRESS_ARCH 88 #else 89 #define USTACK_ADDRESS (USER_ADDRESS_SPACE_END - (STACK_SIZE - 1)) 90 #endif 87 91 88 92 /** Kernel address space. */ … … 238 242 /** Address space area backend structure. */ 239 243 typedef struct mem_backend { 244 bool (* create)(as_area_t *); 245 bool (* resize)(as_area_t *, size_t); 246 void (* share)(as_area_t *); 247 void (* destroy)(as_area_t *); 248 240 249 int (* page_fault)(as_area_t *, uintptr_t, pf_access_t); 241 250 void (* frame_free)(as_area_t *, uintptr_t, uintptr_t); 242 void (* share)(as_area_t *);243 251 } mem_backend_t; 244 252
Note:
See TracChangeset
for help on using the changeset viewer.