xref: /linux/arch/x86/um/shared/sysdep/ptrace_32.h (revision ea518afc992032f7570c0a89ac9240b387dc0faf)
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 #define UPT_SYSCALL_ARG1(r) UPT_BX(r)
12 #define UPT_SYSCALL_ARG2(r) UPT_CX(r)
13 #define UPT_SYSCALL_ARG3(r) UPT_DX(r)
14 #define UPT_SYSCALL_ARG4(r) UPT_SI(r)
15 #define UPT_SYSCALL_ARG5(r) UPT_DI(r)
16 #define UPT_SYSCALL_ARG6(r) UPT_BP(r)
17 
18 extern void arch_init_registers(int pid);
19 
20 #endif
21