Changeset 8ff0bd2 in mainline for kernel/generic/include/mm/as.h
- Timestamp:
- 2011-09-04T11:30:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 03bc76a
- Parents:
- d2c67e7 (diff), deac215e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/mm/as.h
rd2c67e7 r8ff0bd2 36 36 #define KERN_AS_H_ 37 37 38 #ifdef KERNEL 39 #include <typedefs.h> 40 #else 41 #include <sys/types.h> 42 #endif 43 44 /** Address space area flags. */ 45 #define AS_AREA_READ 1 46 #define AS_AREA_WRITE 2 47 #define AS_AREA_EXEC 4 48 #define AS_AREA_CACHEABLE 8 49 50 /** Address space area info exported to userspace. */ 51 typedef struct { 52 /** Starting address */ 53 uintptr_t start_addr; 54 55 /** Area size */ 56 size_t size; 57 58 /** Area flags */ 59 unsigned int flags; 60 } as_area_info_t; 61 62 #ifdef KERNEL 63 38 #include <typedefs.h> 39 #include <abi/mm/as.h> 64 40 #include <arch/mm/page.h> 65 41 #include <arch/mm/as.h> 66 42 #include <arch/mm/asid.h> 43 #include <arch/istate.h> 67 44 #include <typedefs.h> 68 45 #include <synch/spinlock.h> … … 254 231 255 232 extern as_operations_t *as_operations; 256 extern li nk_t inactive_as_with_asid_head;233 extern list_t inactive_as_with_asid_list; 257 234 258 235 extern void as_init(void); … … 306 283 extern mem_backend_t phys_backend; 307 284 308 /**309 * This flags is passed when running the loader, otherwise elf_load()310 * would return with a EE_LOADER error code.311 *312 */313 #define ELD_F_NONE 0314 #define ELD_F_LOADER 1315 316 extern unsigned int elf_load(elf_header_t *, as_t *, unsigned int);317 318 285 /* Address space area related syscalls. */ 319 286 extern sysarg_t sys_as_area_create(uintptr_t, size_t, unsigned int); … … 327 294 extern void as_print(as_t *); 328 295 329 #endif /* KERNEL */330 331 296 #endif 332 297
Note:
See TracChangeset
for help on using the changeset viewer.