Changeset 69146b93 in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2012-11-26T19:02:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04552324
- Parents:
- 5d230a30 (diff), 7462674 (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
r5d230a30 r69146b93 65 65 #define USER_ADDRESS_SPACE_END USER_ADDRESS_SPACE_END_ARCH 66 66 67 #ifdef USTACK_ADDRESS_ARCH68 #define USTACK_ADDRESS USTACK_ADDRESS_ARCH69 #else70 #define USTACK_ADDRESS (USER_ADDRESS_SPACE_END - (STACK_SIZE - 1))71 #endif72 73 67 /** Kernel address space. */ 74 68 #define FLAG_AS_KERNEL (1 << 0) … … 78 72 #define AS_AREA_ATTR_PARTIAL 1 /**< Not fully initialized area. */ 79 73 74 /** The page fault was resolved by as_page_fault(). */ 75 #define AS_PF_OK 0 76 77 /** The page fault was caused by memcpy_from_uspace() or memcpy_to_uspace(). */ 78 #define AS_PF_DEFER 1 79 80 80 /** The page fault was not resolved by as_page_fault(). */ 81 #define AS_PF_FAULT 0 82 83 /** The page fault was resolved by as_page_fault(). */ 84 #define AS_PF_OK 1 85 86 /** The page fault was caused by memcpy_from_uspace() or memcpy_to_uspace(). */ 87 #define AS_PF_DEFER 2 81 #define AS_PF_FAULT 2 82 83 /** The page fault was not resolved by as_page_fault(). Non-verbose version. */ 84 #define AS_PF_SILENT 3 88 85 89 86 /** Address space structure. … … 228 225 void (* destroy)(as_area_t *); 229 226 227 bool (* is_resizable)(as_area_t *); 228 bool (* is_shareable)(as_area_t *); 229 230 230 int (* page_fault)(as_area_t *, uintptr_t, pf_access_t); 231 231 void (* frame_free)(as_area_t *, uintptr_t, uintptr_t);
Note:
See TracChangeset
for help on using the changeset viewer.