summaryrefslogtreecommitdiff
path: root/libc-parts/loader.h
AgeCommit message (Collapse)Author
2008-02-11libc-parts/neal
2008-02-11 Neal H. Walfield <neal@gnu.org> * loader.h (loader_allocate_object_callback_t): Add parameter ro. * loader.c (loader_elf_load): When calling ALLOC, pass whether or not the page should be mapped read-only to the callback. viengoos/ 2008-02-11 Neal H. Walfield <neal@gnu.org> * viengoos.c (system_task_load.alloc): Update alloc callback function to take additional parameter ro to be consistent with the updated API.
2008-01-25libc-parts/neal
2008-01-25 Neal H. Walfield <neal@gnu.org> * loader.h: Include <stdint.h> and <stdbool.h>. Don't include <l4/types.h>, "cap.h", or "as.h". (struct activity): Remove forward. (struct thread): Remove forward. (loader_allocate_object_callback_t): New definition. (loader_lookup_object_callback_t): New definition. (loader_elf_load): Change prototype to take an allocation, a lookup, a start, an end, and an entry arguments. Return a boolean. * loader.c: Don't include "cap.h", "object.h", "as.h" or "thread.h". Include <l4.h>. (loader_elf_load): Change prototype to take an allocation, a lookup, a start, an end, and an entry arguments. Return a boolean. Don't panic on an error. Instead, print some debugging output and return false. On success, return true. Update to use alloc and lookup callback functions. * elf.h: Move here from ../viengoos. * Makefile.am (common_sources): Add elf.h, loader.h and loader.c. viengoos/ 2008-01-25 Neal H. Walfield <neal@gnu.org> * viengoos.c: Include <loader.h>. Don't include "loader.h". (system_task_load): Update user of loader_elf_load to new API. * loader.h: Move to ../libc-parts. * loader.c: Move to ../libc-parts. * elf.h: Move to ../libc-parts. * Makefile.am (viengoos_SOURCES): Remove elf.h, loader.h and loader.c.