Linux-2.6.12-rc2
[linux-2.6/kvm.git] / arch / um / kernel / tt / include / tt.h
blobc667b67af405fc948396e9370e9c247f4d2e8a56
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #ifndef __TT_H__
7 #define __TT_H__
9 #include "sysdep/ptrace.h"
11 extern int gdb_pid;
12 extern int debug;
13 extern int debug_stop;
14 extern int debug_trace;
16 extern int honeypot;
18 extern int fork_tramp(void *sig_stack);
19 extern int do_proc_op(void *t, int proc_id);
20 extern int tracer(int (*init_proc)(void *), void *sp);
21 extern void attach_process(int pid);
22 extern void tracer_panic(char *format, ...);
23 extern void set_init_pid(int pid);
24 extern int set_user_mode(void *task);
25 extern void set_tracing(void *t, int tracing);
26 extern int is_tracing(void *task);
27 extern void syscall_handler(int sig, union uml_pt_regs *regs);
28 extern void exit_kernel(int pid, void *task);
29 extern void do_syscall(void *task, int pid, int local_using_sysemu);
30 extern void do_sigtrap(void *task);
31 extern int is_valid_pid(int pid);
32 extern void remap_data(void *segment_start, void *segment_end, int w);
33 extern long execute_syscall_tt(void *r);
35 #endif
38 * Overrides for Emacs so that we follow Linus's tabbing style.
39 * Emacs will notice this stuff at the end of the file and automatically
40 * adjust the settings for this buffer only. This must remain at the end
41 * of the file.
42 * ---------------------------------------------------------------------------
43 * Local variables:
44 * c-file-style: "linux"
45 * End: