ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / um / kernel / tt / include / mode.h
1 /* 
2  * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __MODE_TT_H__
7 #define __MODE_TT_H__
8
9 #include "sysdep/ptrace.h"
10
11 extern int tracing_pid;
12
13 extern int tracer(int (*init_proc)(void *), void *sp);
14 extern void user_time_init_tt(void);
15 extern int copy_sc_from_user_tt(void *to_ptr, void *from_ptr, void *data);
16 extern int copy_sc_to_user_tt(void *to_ptr, void *fp, void *from_ptr, 
17                               void *data);
18 extern void sig_handler_common_tt(int sig, void *sc);
19 extern void syscall_handler_tt(int sig, union uml_pt_regs *regs);
20 extern void reboot_tt(void);
21 extern void halt_tt(void);
22 extern int is_tracer_winch(int pid, int fd, void *data);
23 extern void kill_off_processes_tt(void);
24
25 #endif
26
27 /*
28  * Overrides for Emacs so that we follow Linus's tabbing style.
29  * Emacs will notice this stuff at the end of the file and automatically
30  * adjust the settings for this buffer only.  This must remain at the end
31  * of the file.
32  * ---------------------------------------------------------------------------
33  * Local variables:
34  * c-file-style: "linux"
35  * End:
36  */