Added syscalls for get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10243 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
82f223ea8c
commit
08f58535d9
@ -31,6 +31,7 @@ struct dirent;
|
||||
// NOTE:
|
||||
// * Nothing but those prototypes may live here.
|
||||
// * The arguments of the functions must be named to be processed properly.
|
||||
|
||||
#ifdef GEN_SYSCALL_INFOS_PROCESSING
|
||||
#pragma syscalls begin
|
||||
#endif
|
||||
@ -84,14 +85,15 @@ extern status_t _kern_kill_thread(thread_id thread);
|
||||
extern void _kern_exit_thread(status_t returnValue);
|
||||
extern status_t _kern_wait_for_thread(thread_id thread, status_t *_returnCode);
|
||||
extern bool _kern_has_data(thread_id thread);
|
||||
extern status_t _kern_send_data(thread_id thread, int32 code, const void *buffer, size_t buffer_size);
|
||||
extern status_t _kern_receive_data(thread_id *_sender, void *buffer, size_t buffer_size);
|
||||
extern status_t _kern_send_data(thread_id thread, int32 code, const void *buffer, size_t bufferSize);
|
||||
extern status_t _kern_receive_data(thread_id *_sender, void *buffer, size_t bufferSize);
|
||||
extern int64 _kern_restore_signal_frame();
|
||||
|
||||
extern status_t _kern_get_thread_info(thread_id id, thread_info *info);
|
||||
extern status_t _kern_get_next_thread_info(team_id team, int32 *cookie, thread_info *info);
|
||||
extern status_t _kern_get_team_info(team_id id, team_info *info);
|
||||
extern status_t _kern_get_next_team_info(int32 *cookie, team_info *info);
|
||||
extern status_t _kern_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size);
|
||||
|
||||
// signal functions
|
||||
extern int _kern_send_signal(pid_t tid, uint sig);
|
||||
|
@ -44,6 +44,7 @@ pid_t _user_setsid(void);
|
||||
|
||||
status_t _user_get_team_info(team_id id, team_info *info);
|
||||
status_t _user_get_next_team_info(int32 *cookie, team_info *info);
|
||||
status_t _user_get_team_usage_info(team_id team, int32 who, team_usage_info *info, size_t size);
|
||||
|
||||
// ToDo: please move the "env" setter/getter out of the kernel!
|
||||
int _user_setenv(const char *name, const char *value, int overwrite);
|
||||
|
Loading…
Reference in New Issue
Block a user