win-pvdrivers

changeset 382:ecfd4ddaaf3d

remove dead code
author Andy Grover <andy.grover@oracle.com>
date Wed Jul 09 12:35:41 2008 -0700 (2008-07-09)
parents 1dd27f353684
children f038c7581cf4
files xenpci/hypercall_x86_mingw.h
line diff
     1.1 --- a/xenpci/hypercall_x86_mingw.h	Wed Jul 09 12:33:37 2008 -0700
     1.2 +++ b/xenpci/hypercall_x86_mingw.h	Wed Jul 09 12:35:41 2008 -0700
     1.3 @@ -23,18 +23,6 @@
     1.4  #define __STR(x) #x
     1.5  #define STR(x) __STR(x)
     1.6  
     1.7 -#if 0
     1.8 -#define HYPERCALL_STR(name)                                     \
     1.9 -	"mov $stub_addr,%%eax; "                                      \
    1.10 -	"add $("STR(__HYPERVISOR_##name)" * 32),%%eax; "              \
    1.11 -	"call *%%eax"
    1.12 -#endif
    1.13 -
    1.14 -#define HYPERCALL_STR(name)                                     \
    1.15 -	"mov %3,%%eax; "                                      \
    1.16 -	"add $("STR(__HYPERVISOR_##name)" * 32),%%eax; "              \
    1.17 -	"call *%%eax"
    1.18 -
    1.19  #define _hypercall2(type, name, a1, a2)                         \
    1.20  ({                                                              \
    1.21    long __res, __ign1, __ign2;                                   \
    1.22 @@ -109,8 +97,11 @@ HYPERVISOR_event_channel_op(PXENPCI_DEVI
    1.23  	return _hypercall2(int, event_channel_op, cmd, arg);
    1.24  }
    1.25  
    1.26 static inline int
    1.27 -HYPERVISOR_grant_table_op(PXENPCI_DEVICE_DATA xpdd,	unsigned int cmd, void *uop,
    1.28 - unsigned int count)
    1.29 +HYPERVISOR_grant_table_op(
    1.30 +  PXENPCI_DEVICE_DATA xpdd,
    1.31 +  unsigned int cmd,
    1.32 +  void *uop,
    1.33 +  unsigned int count)
    1.34  {
    1.35  	return _hypercall3(int, grant_table_op, cmd, uop, count);
    1.36  }