/arch/um/include/registers.h

https://bitbucket.org/evzijst/gittest · C Header · 29 lines · 10 code · 5 blank · 14 comment · 0 complexity · f93ff01a75c1c6d7e2bcce9365e624f3 MD5 · raw file

  1. /*
  2. * Copyright (C) 2004 PathScale, Inc
  3. * Licensed under the GPL
  4. */
  5. #ifndef __REGISTERS_H
  6. #define __REGISTERS_H
  7. #include "sysdep/ptrace.h"
  8. extern void init_thread_registers(union uml_pt_regs *to);
  9. extern int save_fp_registers(int pid, unsigned long *fp_regs);
  10. extern int restore_fp_registers(int pid, unsigned long *fp_regs);
  11. extern void save_registers(int pid, union uml_pt_regs *regs);
  12. extern void restore_registers(int pid, union uml_pt_regs *regs);
  13. extern void init_registers(int pid);
  14. #endif
  15. /*
  16. * Overrides for Emacs so that we follow Linus's tabbing style.
  17. * Emacs will notice this stuff at the end of the file and automatically
  18. * adjust the settings for this buffer only. This must remain at the end
  19. * of the file.
  20. * ---------------------------------------------------------------------------
  21. * Local variables:
  22. * c-file-style: "linux"
  23. * End:
  24. */