Changeset a35b458 in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2018-03-02T20:10:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r3061bc1 ra35b458 94 94 /** Protected by asidlock. */ 95 95 link_t inactive_as_with_asid_link; 96 96 97 97 /** 98 98 * Number of processors on which this … … 101 101 */ 102 102 size_t cpu_refcount; 103 103 104 104 /** Address space identifier. 105 105 * … … 109 109 */ 110 110 asid_t asid; 111 111 112 112 /** Number of references (i.e. tasks that reference this as). */ 113 113 atomic_t refcount; 114 114 115 115 mutex_t lock; 116 116 117 117 /** B+tree of address space areas. */ 118 118 btree_t as_area_btree; 119 119 120 120 /** Non-generic content. */ 121 121 as_genarch_t genarch; 122 122 123 123 /** Architecture specific content. */ 124 124 as_arch_t arch; … … 178 178 elf_segment_header_t *segment; 179 179 }; 180 180 181 181 /** phys_backend members */ 182 182 struct { … … 200 200 typedef struct { 201 201 mutex_t lock; 202 202 203 203 /** Containing address space. */ 204 204 as_t *as; 205 205 206 206 /** Memory flags. */ 207 207 unsigned int flags; 208 208 209 209 /** Address space area attributes. */ 210 210 unsigned int attributes; 211 211 212 212 /** Number of pages in the area. */ 213 213 size_t pages; 214 214 215 215 /** Number of resident pages in the area. */ 216 216 size_t resident; 217 217 218 218 /** Base address of this area. */ 219 219 uintptr_t base; 220 220 221 221 /** Map of used space. */ 222 222 btree_t used_space; 223 223 224 224 /** 225 225 * If the address space area is shared. this is … … 227 227 */ 228 228 share_info_t *sh_info; 229 229 230 230 /** Memory backend backing this address space area. */ 231 231 struct mem_backend *backend; 232 232 233 233 /** Data to be used by the backend. */ 234 234 mem_backend_data_t backend_data;
Note:
See TracChangeset
for help on using the changeset viewer.