Changeset 98000fb in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2009-06-03T19:34:45Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 301ff30
- Parents:
- 69e68e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
r69e68e3 r98000fb 95 95 * Protected by asidlock. 96 96 */ 97 count_t cpu_refcount;97 size_t cpu_refcount; 98 98 /** 99 99 * Address space identifier. … … 133 133 mutex_t lock; 134 134 /** This structure can be deallocated if refcount drops to 0. */ 135 count_t refcount;135 size_t refcount; 136 136 /** 137 137 * B+tree containing complete map of anonymous pages of the shared area. … … 157 157 struct { /**< phys_backend members */ 158 158 uintptr_t base; 159 count_t frames;159 size_t frames; 160 160 }; 161 161 } mem_backend_data_t; … … 176 176 int attributes; 177 177 /** Size of this area in multiples of PAGE_SIZE. */ 178 count_t pages;178 size_t pages; 179 179 /** Base address of this area. */ 180 180 uintptr_t base; … … 226 226 extern bool as_area_check_access(as_area_t *area, pf_access_t access); 227 227 extern size_t as_area_get_size(uintptr_t base); 228 extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count);229 extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count);228 extern int used_space_insert(as_area_t *a, uintptr_t page, size_t count); 229 extern int used_space_remove(as_area_t *a, uintptr_t page, size_t count); 230 230 231 231
Note:
See TracChangeset
for help on using the changeset viewer.