Linux-2.6.12-rc2
[cascardo/linux.git] / arch / um / include / registers.h
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);
17
18 #endif
19
20 /*
21  * Overrides for Emacs so that we follow Linus's tabbing style.
22  * Emacs will notice this stuff at the end of the file and automatically
23  * adjust the settings for this buffer only.  This must remain at the end
24  * of the file.
25  * ---------------------------------------------------------------------------
26  * Local variables:
27  * c-file-style: "linux"
28  * End:
29  */