Changes in kernel/generic/include/mm/as.h [908bb96:fbcdeb8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r908bb96 rfbcdeb8 61 61 #define USER_ADDRESS_SPACE_END USER_ADDRESS_SPACE_END_ARCH 62 62 63 #ifdef USTACK_ADDRESS_ARCH 64 #define USTACK_ADDRESS USTACK_ADDRESS_ARCH 65 #else 66 #define USTACK_ADDRESS (USER_ADDRESS_SPACE_END - (STACK_SIZE - 1)) 67 #endif 68 63 69 /** Kernel address space. */ 64 70 #define FLAG_AS_KERNEL (1 << 0) … … 68 74 #define AS_AREA_ATTR_PARTIAL 1 /**< Not fully initialized area. */ 69 75 76 /** The page fault was not resolved by as_page_fault(). */ 77 #define AS_PF_FAULT 0 78 70 79 /** The page fault was resolved by as_page_fault(). */ 71 #define AS_PF_OK 080 #define AS_PF_OK 1 72 81 73 82 /** The page fault was caused by memcpy_from_uspace() or memcpy_to_uspace(). */ 74 #define AS_PF_DEFER 1 75 76 /** The page fault was not resolved by as_page_fault(). */ 77 #define AS_PF_FAULT 2 78 79 /** The page fault was not resolved by as_page_fault(). Non-verbose version. */ 80 #define AS_PF_SILENT 3 83 #define AS_PF_DEFER 2 81 84 82 85 /** Address space structure. … … 221 224 void (* destroy)(as_area_t *); 222 225 223 bool (* is_resizable)(as_area_t *);224 bool (* is_shareable)(as_area_t *);225 226 226 int (* page_fault)(as_area_t *, uintptr_t, pf_access_t); 227 227 void (* frame_free)(as_area_t *, uintptr_t, uintptr_t);
Note:
See TracChangeset
for help on using the changeset viewer.