Commit d8be79d1 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

cobalt/x86: ipipe: Remove leftover from x86_32 removal


Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent ba85cd0f
......@@ -29,19 +29,11 @@
*/
#define __xn_reg_sys(regs) ((regs)->orig_ax)
#define __xn_reg_rval(regs) ((regs)->ax)
#ifdef __i386__
#define __xn_reg_arg1(regs) ((regs)->bx)
#define __xn_reg_arg2(regs) ((regs)->cx)
#define __xn_reg_arg3(regs) ((regs)->dx)
#define __xn_reg_arg4(regs) ((regs)->si)
#define __xn_reg_arg5(regs) ((regs)->di)
#else /* x86_64 */
#define __xn_reg_arg1(regs) ((regs)->di)
#define __xn_reg_arg2(regs) ((regs)->si)
#define __xn_reg_arg3(regs) ((regs)->dx)
#define __xn_reg_arg4(regs) ((regs)->r10)
#define __xn_reg_arg5(regs) ((regs)->r8)
#endif /* x86_64 */
#define __xn_reg_pc(regs) ((regs)->ip)
#define __xn_reg_sp(regs) ((regs)->sp)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment