ae00d22bce02c61fbd5db9e9705fc0e8be386aab
[sfrench/cifs-2.6.git] / arch / x86 / um / shared / sysdep / ptrace_32.h
1 /*
2  * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __SYSDEP_I386_PTRACE_H
7 #define __SYSDEP_I386_PTRACE_H
8
9 #define MAX_FP_NR HOST_FPX_SIZE
10
11 static inline void update_debugregs(int seq) {}
12
13 void set_using_sysemu(int value);
14 int get_using_sysemu(void);
15 extern int sysemu_supported;
16
17 #define UPT_SYSCALL_ARG1(r) UPT_BX(r)
18 #define UPT_SYSCALL_ARG2(r) UPT_CX(r)
19 #define UPT_SYSCALL_ARG3(r) UPT_DX(r)
20 #define UPT_SYSCALL_ARG4(r) UPT_SI(r)
21 #define UPT_SYSCALL_ARG5(r) UPT_DI(r)
22 #define UPT_SYSCALL_ARG6(r) UPT_BP(r)
23
24 extern void arch_init_registers(int pid);
25
26 #endif