win-pvdrivers

changeset 1056:b29ed182391f

fix cut&paste error in tmem hypercall for x64
author James Harper <james.harper@bendigoit.com.au>
date Tue Jun 04 12:15:51 2013 +1000 (2013-06-04)
parents a127b9bea695
children 2d5fbe07e866
files xenpci/hypercall_amd64.h
line diff
     1.1 --- a/xenpci/hypercall_amd64.h	Sun Jun 02 16:38:50 2013 +1000
     1.2 +++ b/xenpci/hypercall_amd64.h	Tue Jun 04 12:15:51 2013 +1000
     1.3 @@ -72,8 +72,7 @@ HYPERVISOR_sched_op(int cmd, void *arg)
     1.4  static __inline int
     1.5  HYPERVISOR_tmem_op(void *op)
     1.6  {
     1.7 -  PCHAR event_channel_op_func = hypercall_stubs;
     1.8 -  event_channel_op_func += __HYPERVISOR_event_channel_op * 32;
     1.9 -  return _hypercall2(event_channel_op_func, (xen_ulong_t)op);
    1.10 +  PCHAR tmem_op_func = hypercall_stubs;
    1.11 +  tmem_op_func += __HYPERVISOR_tmem_op * 32;
    1.12 +  return _hypercall1(tmem_op_func, (xen_ulong_t)op);
    1.13  }
    1.14 -