Rev 2984 | Rev 3150 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2984 | Rev 3001 | ||
---|---|---|---|
Line 298... | Line 298... | ||
298 | /* Backend declarations and functions. */ |
298 | /* Backend declarations and functions. */ |
299 | extern mem_backend_t anon_backend; |
299 | extern mem_backend_t anon_backend; |
300 | extern mem_backend_t elf_backend; |
300 | extern mem_backend_t elf_backend; |
301 | extern mem_backend_t phys_backend; |
301 | extern mem_backend_t phys_backend; |
302 | 302 | ||
- | 303 | /** |
|
- | 304 | * This flags is passed when running the loader, otherwise elf_load() |
|
- | 305 | * would return with a EE_LOADER error code. |
|
- | 306 | */ |
|
- | 307 | #define ELD_F_LOADER 1 |
|
- | 308 | ||
303 | extern unsigned int elf_load(elf_header_t *header, as_t *as); |
309 | extern unsigned int elf_load(elf_header_t *header, as_t *as, int flags); |
304 | 310 | ||
305 | /* Address space area related syscalls. */ |
311 | /* Address space area related syscalls. */ |
306 | extern unative_t sys_as_area_create(uintptr_t address, size_t size, int flags); |
312 | extern unative_t sys_as_area_create(uintptr_t address, size_t size, int flags); |
307 | extern unative_t sys_as_area_resize(uintptr_t address, size_t size, int flags); |
313 | extern unative_t sys_as_area_resize(uintptr_t address, size_t size, int flags); |
308 | extern unative_t sys_as_area_change_flags(uintptr_t address, int flags); |
314 | extern unative_t sys_as_area_change_flags(uintptr_t address, int flags); |