/arch/um/kernel/tt/include/mode-tt.h

https://bitbucket.org/evzijst/gittest · C Header · 35 lines · 14 code · 7 blank · 14 comment · 0 complexity · 3f714b8f9c21a717899a0701609ebf15 MD5 · raw file

  1. /*
  2. * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __MODE_TT_H__
  6. #define __MODE_TT_H__
  7. #include "sysdep/ptrace.h"
  8. enum { OP_NONE, OP_EXEC, OP_FORK, OP_TRACE_ON, OP_REBOOT, OP_HALT, OP_CB };
  9. extern int tracing_pid;
  10. extern int tracer(int (*init_proc)(void *), void *sp);
  11. extern void user_time_init_tt(void);
  12. extern void sig_handler_common_tt(int sig, void *sc);
  13. extern void syscall_handler_tt(int sig, union uml_pt_regs *regs);
  14. extern void reboot_tt(void);
  15. extern void halt_tt(void);
  16. extern int is_tracer_winch(int pid, int fd, void *data);
  17. extern void kill_off_processes_tt(void);
  18. #endif
  19. /*
  20. * Overrides for Emacs so that we follow Linus's tabbing style.
  21. * Emacs will notice this stuff at the end of the file and automatically
  22. * adjust the settings for this buffer only. This must remain at the end
  23. * of the file.
  24. * ---------------------------------------------------------------------------
  25. * Local variables:
  26. * c-file-style: "linux"
  27. * End:
  28. */