registers.h 924 B

123456789101112131415161718192021222324252627282930
  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. extern void get_safe_registers(unsigned long * regs);
  15. #endif
  16. /*
  17. * Overrides for Emacs so that we follow Linus's tabbing style.
  18. * Emacs will notice this stuff at the end of the file and automatically
  19. * adjust the settings for this buffer only. This must remain at the end
  20. * of the file.
  21. * ---------------------------------------------------------------------------
  22. * Local variables:
  23. * c-file-style: "linux"
  24. * End:
  25. */