Rev 3203 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3203 | Rev 3569 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | struct thread *main_thread; /**< Program main thread */ |
50 | struct thread *main_thread; /**< Program main thread */ |
51 | } program_t; |
51 | } program_t; |
52 | 52 | ||
53 | extern void *program_loader; |
53 | extern void *program_loader; |
54 | 54 | ||
55 | extern void program_create(as_t *as, uintptr_t entry_addr, program_t *p); |
55 | extern void program_create(as_t *as, uintptr_t entry_addr, char *name, |
- | 56 | program_t *p); |
|
56 | extern int program_create_from_image(void *image_addr, program_t *p); |
57 | extern int program_create_from_image(void *image_addr, char *name, |
- | 58 | program_t *p); |
|
57 | extern int program_create_loader(program_t *p); |
59 | extern int program_create_loader(program_t *p, char *name); |
58 | extern void program_ready(program_t *p); |
60 | extern void program_ready(program_t *p); |
59 | 61 | ||
60 | extern unative_t sys_program_spawn_loader(int *uspace_phone_id); |
62 | extern unative_t sys_program_spawn_loader(int *uspace_phone_id, |
- | 63 | char *uspace_name, size_t name_len); |
|
61 | 64 | ||
62 | #endif |
65 | #endif |
63 | 66 | ||
64 | /** @} |
67 | /** @} |
65 | */ |
68 | */ |