Subversion Repositories HelenOS

Rev

Rev 1890 | Rev 2000 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1890 Rev 1891
Line 158... Line 158...
158
                         reference the share info structure. */
158
                         reference the share info structure. */
159
    mem_backend_t *backend; /**< Memory backend backing this address space area. */
159
    mem_backend_t *backend; /**< Memory backend backing this address space area. */
160
 
160
 
161
    /** Data to be used by the backend. */
161
    /** Data to be used by the backend. */
162
    mem_backend_data_t backend_data;
162
    mem_backend_data_t backend_data;
163
   
-
 
164
    as_arch_t arch;
-
 
165
};
163
};
166
 
164
 
167
extern as_t *AS_KERNEL;
165
extern as_t *AS_KERNEL;
168
extern as_operations_t *as_operations;
166
extern as_operations_t *as_operations;
169
 
167
 
Line 188... Line 186...
188
extern bool as_area_check_access(as_area_t *area, pf_access_t access);
186
extern bool as_area_check_access(as_area_t *area, pf_access_t access);
189
extern size_t as_get_size(uintptr_t base);
187
extern size_t as_get_size(uintptr_t base);
190
extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count);
188
extern int used_space_insert(as_area_t *a, uintptr_t page, count_t count);
191
extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count);
189
extern int used_space_remove(as_area_t *a, uintptr_t page, count_t count);
192
 
190
 
-
 
191
 
193
/* Interface to be implemented by architectures. */
192
/* Interface to be implemented by architectures. */
-
 
193
#ifndef as_constructor_arch
-
 
194
extern int as_constructor_arch(as_t *as, int flags);
-
 
195
#endif /* !def as_constructor_arch */
-
 
196
#ifndef as_destructor_arch
-
 
197
extern int as_destructor_arch(as_t *as);
-
 
198
#endif /* !def as_destructor_arch */
-
 
199
#ifndef as_create_arch
-
 
200
extern int as_create_arch(as_t *as, int flags);
-
 
201
#endif /* !def as_create_arch */
194
#ifndef as_install_arch
202
#ifndef as_install_arch
195
extern void as_install_arch(as_t *as);
203
extern void as_install_arch(as_t *as);
196
#endif /* !def as_install_arch */
204
#endif /* !def as_install_arch */
197
#ifndef as_deinstall_arch
205
#ifndef as_deinstall_arch
198
extern void as_deinstall_arch(as_t *as);
206
extern void as_deinstall_arch(as_t *as);