[PATCH] Driver Core: pm diagnostics update, check for errors
[linux-2.6/verdex.git] / arch / um / kernel / tt / include / mode-tt.h
blobefe4620190699cda8c9274d4838e98890b249dd0
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #ifndef __MODE_TT_H__
7 #define __MODE_TT_H__
9 #include "sysdep/ptrace.h"
11 enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB };
13 extern int tracing_pid;
15 extern int tracer(int (*init_proc)(void *), void *sp);
16 extern void user_time_init_tt(void);
17 extern void sig_handler_common_tt(int sig, void *sc);
18 extern void syscall_handler_tt(int sig, union uml_pt_regs *regs);
19 extern void reboot_tt(void);
20 extern void halt_tt(void);
21 extern int is_tracer_winch(int pid, int fd, void *data);
22 extern void kill_off_processes_tt(void);
24 #endif
27 * Overrides for Emacs so that we follow Linus's tabbing style.
28 * Emacs will notice this stuff at the end of the file and automatically
29 * adjust the settings for this buffer only. This must remain at the end
30 * of the file.
31 * ---------------------------------------------------------------------------
32 * Local variables:
33 * c-file-style: "linux"
34 * End: