2004-11-18 06:03:24 +03:00
|
|
|
/*
|
2006-01-06 06:48:11 +03:00
|
|
|
* Copyright 2004-2006, 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>
|
|
|
|
|
|
|
|
|
2004-10-12 20:26:44 +04:00
|
|
|
struct uspace_program_args;
|
2004-11-18 06:03:24 +03:00
|
|
|
struct real_time_data;
|
|
|
|
|
2005-06-14 16:39:06 +04:00
|
|
|
status_t __parse_invoke_line(char *invoker, char ***_newArgs,
|
|
|
|
char * const **_oldArgs, int32 *_argCount);
|
|
|
|
status_t __test_executable(const char *path, char *invoker);
|
2005-03-11 01:36:53 +03:00
|
|
|
void __init_env(const struct uspace_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
|
|
|
|
|
|
|
|
2004-05-03 16:42:43 +04:00
|
|
|
extern char _single_threaded;
|
|
|
|
/* This determines if a process runs single threaded or not */
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* LIBROOT_PRIVATE_H */
|