From 7884e8986b6415de6df36a2008d01c1e7adec77d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 12 Mar 2005 14:58:39 +0000 Subject: [PATCH] * _kern_load_image() has a `flags' parameter now. * Added _kern_image_relocated() and _kern_loading_app_failed(), which are invoked by the loader to provide the kernel with more info. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11689 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/syscalls.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/syscalls.h b/headers/private/kernel/syscalls.h index 3fc8965455..577a49fe09 100644 --- a/headers/private/kernel/syscalls.h +++ b/headers/private/kernel/syscalls.h @@ -59,7 +59,8 @@ extern status_t _kern_set_sem_owner(sem_id id, team_id proc); /* team & thread syscalls */ extern thread_id _kern_load_image(int32 argCount, const char **args, - int32 envCount, const char **envp, int32 priority); + int32 envCount, const char **envp, int32 priority, + uint32 flags); extern void _kern_exit_team(status_t returnValue); extern status_t _kern_kill_team(team_id team); extern team_id _kern_get_current_team(); @@ -103,6 +104,8 @@ extern bigtime_t _kern_set_alarm(bigtime_t time, uint32 mode); // image functions extern image_id _kern_register_image(image_info *info, size_t size); extern status_t _kern_unregister_image(image_id id); +extern void _kern_image_relocated(image_id id); +extern void _kern_loading_app_failed(status_t error); extern status_t _kern_get_image_info(image_id id, image_info *info, size_t size); extern status_t _kern_get_next_image_info(team_id team, int32 *cookie, image_info *info, size_t size);