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