Kohsuke, I am starting work on adding the capability to load elf images for drivers and tasks from a task.
The way I'm planning to do this is to add elf file parsing to the kernel, basically duplicating the elf loading capability present in the bootloader. I would then expose two syscalls, something like: __syscall int task_load_elf(task_t task, char *img, u_long img_size, void **stack) - loads elf EXEC or REL file and allocate memory - probably also does thread_create(), thread_load(), thread_resume() __syscall int driver_load_elf(char *img, u_long img_size) - loads elf REL file and allocate memory - start driver This means starting an application would be something like: task_create(task_self(), VM_NONE, &task); task_load_elf(task, elf_img, size); Does this fit in with your ideas, or do you have some work you have already done in this area? Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Prex-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/prex-devel
