15c48b108SAl Viro /* 25c48b108SAl Viro * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 35c48b108SAl Viro * Licensed under the GPL 45c48b108SAl Viro */ 55c48b108SAl Viro 65c48b108SAl Viro #ifndef __SYSDEP_I386_PTRACE_H 75c48b108SAl Viro #define __SYSDEP_I386_PTRACE_H 85c48b108SAl Viro 9*243412beSAl Viro #define MAX_FP_NR HOST_FPX_SIZE 105c48b108SAl Viro 115c48b108SAl Viro void set_using_sysemu(int value); 125c48b108SAl Viro int get_using_sysemu(void); 135c48b108SAl Viro extern int sysemu_supported; 145c48b108SAl Viro 15*243412beSAl Viro #define UPT_SYSCALL_ARG1(r) UPT_BX(r) 16*243412beSAl Viro #define UPT_SYSCALL_ARG2(r) UPT_CX(r) 17*243412beSAl Viro #define UPT_SYSCALL_ARG3(r) UPT_DX(r) 18*243412beSAl Viro #define UPT_SYSCALL_ARG4(r) UPT_SI(r) 19*243412beSAl Viro #define UPT_SYSCALL_ARG5(r) UPT_DI(r) 20*243412beSAl Viro #define UPT_SYSCALL_ARG6(r) UPT_BP(r) 215c48b108SAl Viro 225c48b108SAl Viro extern void arch_init_registers(int pid); 235c48b108SAl Viro 245c48b108SAl Viro #endif 25