xref: /linux/arch/x86/um/shared/sysdep/ptrace_32.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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 UPT_SYSCALL_ARG1(r) UPT_BX(r)
10 #define UPT_SYSCALL_ARG2(r) UPT_CX(r)
11 #define UPT_SYSCALL_ARG3(r) UPT_DX(r)
12 #define UPT_SYSCALL_ARG4(r) UPT_SI(r)
13 #define UPT_SYSCALL_ARG5(r) UPT_DI(r)
14 #define UPT_SYSCALL_ARG6(r) UPT_BP(r)
15 
16 #endif
17