2004-11-18 06:03:24 +03:00
|
|
|
/*
|
2007-07-27 06:32:19 +04:00
|
|
|
* Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de.
|
2004-11-18 06:03:24 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2004-05-03 16:42:43 +04:00
|
|
|
#ifndef LIBROOT_PRIVATE_H
|
|
|
|
#define LIBROOT_PRIVATE_H
|
|
|
|
|
|
|
|
|
2005-06-14 15:23:29 +04:00
|
|
|
#include <SupportDefs.h>
|
2006-10-06 15:40:20 +04:00
|
|
|
#include <image.h>
|
2005-06-14 15:23:29 +04:00
|
|
|
|
|
|
|
|
2007-07-27 06:32:19 +04:00
|
|
|
struct user_space_program_args;
|
2004-11-18 06:03:24 +03:00
|
|
|
struct real_time_data;
|
|
|
|
|
2006-10-06 15:40:20 +04:00
|
|
|
extern char _single_threaded;
|
|
|
|
/* This determines if a process runs single threaded or not */
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2005-06-14 16:39:06 +04:00
|
|
|
status_t __parse_invoke_line(char *invoker, char ***_newArgs,
|
|
|
|
char * const **_oldArgs, int32 *_argCount);
|
2006-10-06 15:40:20 +04:00
|
|
|
status_t __get_next_image_dependency(image_id id, uint32 *cookie,
|
|
|
|
const char **_name);
|
2005-06-14 16:39:06 +04:00
|
|
|
status_t __test_executable(const char *path, char *invoker);
|
2007-07-27 06:32:19 +04:00
|
|
|
void __init_env(const struct user_space_program_args *args);
|
2005-03-23 04:47:21 +03:00
|
|
|
void __init_heap(void);
|
2004-10-12 20:26:44 +04:00
|
|
|
|
2004-11-18 06:03:24 +03:00
|
|
|
void __init_time(void);
|
2006-01-04 05:17:59 +03:00
|
|
|
void __arch_init_time(struct real_time_data *data, bool setDefaults);
|
|
|
|
bigtime_t __arch_get_system_time_offset(struct real_time_data *data);
|
2004-10-12 20:26:44 +04:00
|
|
|
|
2006-10-06 15:40:20 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2004-05-03 16:42:43 +04:00
|
|
|
|
|
|
|
#endif /* LIBROOT_PRIVATE_H */
|