cxgb4/l2t: Mark expected switch fall-through
[linux/fpc-iii.git] / arch / um / include / shared / registers.h
bloba74449b5b0e314a13eac6b2e51ce9ee2f398b5ff
1 /*
2 * Copyright (C) 2004 PathScale, Inc
3 * Licensed under the GPL
4 */
6 #ifndef __REGISTERS_H
7 #define __REGISTERS_H
9 #include <sysdep/ptrace.h>
10 #include <sysdep/archsetjmp.h>
12 extern int save_i387_registers(int pid, unsigned long *fp_regs);
13 extern int restore_i387_registers(int pid, unsigned long *fp_regs);
14 extern int save_fp_registers(int pid, unsigned long *fp_regs);
15 extern int restore_fp_registers(int pid, unsigned long *fp_regs);
16 extern int save_fpx_registers(int pid, unsigned long *fp_regs);
17 extern int restore_fpx_registers(int pid, unsigned long *fp_regs);
18 extern int save_registers(int pid, struct uml_pt_regs *regs);
19 extern int restore_registers(int pid, struct uml_pt_regs *regs);
20 extern int init_registers(int pid);
21 extern void get_safe_registers(unsigned long *regs, unsigned long *fp_regs);
22 extern unsigned long get_thread_reg(int reg, jmp_buf *buf);
23 extern int get_fp_registers(int pid, unsigned long *regs);
24 extern int put_fp_registers(int pid, unsigned long *regs);
26 #endif