Changeset a9e8b39 in mainline for generic/include/mm/as.h
- Timestamp:
- 2006-04-26T17:56:23Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ed6c81f1
- Parents:
- 6fa476f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/as.h
r6fa476f7 ra9e8b39 60 60 #define AS_AREA_DEVICE 8 61 61 62 /** Address space area attributes. */ 63 #define AS_AREA_ATTR_NONE 0 64 #define AS_AREA_ATTR_PARTIAL 1 /* Not fully initialized area. */ 65 62 66 /** Address space area structure. 63 67 * … … 67 71 struct as_area { 68 72 SPINLOCK_DECLARE(lock); 69 int flags; 73 int flags; /**< Flags related to the memory represented by the address space area. */ 74 int attributes; /**< Attributes related to the address space area itself. */ 70 75 count_t pages; /**< Size of this area in multiples of PAGE_SIZE. */ 71 76 __address base; /**< Base address of this area. */ … … 113 118 extern void as_init(void); 114 119 extern as_t *as_create(int flags); 115 extern as_area_t *as_area_create(as_t *as, int flags, size_t size, __address base );120 extern as_area_t *as_area_create(as_t *as, int flags, size_t size, __address base, int attrs); 116 121 extern __address as_area_resize(as_t *as, __address address, size_t size, int flags); 117 int as_area_send(task_id_t id, __address base);122 int as_area_send(task_id_t dst_id, __address base); 118 123 extern void as_set_mapping(as_t *as, __address page, __address frame); 119 124 extern int as_page_fault(__address page);
Note:
See TracChangeset
for help on using the changeset viewer.