Subversion Repositories HelenOS

Rev

Rev 3386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3386 Rev 4153
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(char *uspace_name, size_t name_len);
61
 
63
 
62
#endif
64
#endif
63
 
65
 
64
/** @}
66
/** @}
65
 */
67
 */