ia64/xen-unstable

changeset 4726:bc5f75a442ab

bitkeeper revision 1.1389.1.23 (4275e716ZM2AFvimq_UhqQK8jiiq5g)

Fix xc_ptrace interface to get rid of pid_t.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon May 02 08:38:46 2005 +0000 (2005-05-02)
parents 23682e5da945
children 86ee0ef83cc5
files tools/libxc/xc.h tools/libxc/xc_ptrace.c tools/libxc/xc_ptrace_core.c
line diff
     1.1 --- a/tools/libxc/xc.h	Mon May 02 08:33:37 2005 +0000
     1.2 +++ b/tools/libxc/xc.h	Mon May 02 08:38:46 2005 +0000
     1.3 @@ -87,12 +87,12 @@ typedef struct xc_core_header {
     1.4  
     1.5  
     1.6  long xc_ptrace(enum __ptrace_request request, 
     1.7 -	       pid_t pid, 
     1.8 +	       u32  domid,
     1.9  	       long addr, 
    1.10  	       long data);
    1.11  
    1.12  long xc_ptrace_core(enum __ptrace_request request, 
    1.13 -		    pid_t pid, 
    1.14 +		    u32 domid, 
    1.15  		    long addr, 
    1.16  		    long data);
    1.17  
     2.1 --- a/tools/libxc/xc_ptrace.c	Mon May 02 08:33:37 2005 +0000
     2.2 +++ b/tools/libxc/xc_ptrace.c	Mon May 02 08:38:46 2005 +0000
     2.3 @@ -259,7 +259,7 @@ xc_waitdomain(int domain, int *status, i
     2.4  }
     2.5  
     2.6  long
     2.7 -xc_ptrace(enum __ptrace_request request, pid_t domid, long eaddr, long edata)
     2.8 +xc_ptrace(enum __ptrace_request request, u32 domid, long eaddr, long edata)
     2.9  {
    2.10      dom0_op_t       op;
    2.11      int             status = 0;
     3.1 --- a/tools/libxc/xc_ptrace_core.c	Mon May 02 08:33:37 2005 +0000
     3.2 +++ b/tools/libxc/xc_ptrace_core.c	Mon May 02 08:38:46 2005 +0000
     3.3 @@ -213,7 +213,7 @@ xc_waitdomain_core(int domfd, int *statu
     3.4  }
     3.5  
     3.6  long
     3.7 -xc_ptrace_core(enum __ptrace_request request, int domfd, long eaddr, long edata)
     3.8 +xc_ptrace_core(enum __ptrace_request request, u32 domfd, long eaddr, long edata)
     3.9  {
    3.10      int             status = 0;
    3.11      struct gdb_regs pt;