1 /******************************************************************************
2  * compat.c
3  */
4 
5 asm(".file \"" __FILE__ "\"");
6 
7 #include <xen/hypercall.h>
8 #include <compat/xen.h>
9 #include <compat/physdev.h>
10 
11 #define physdev_op                    compat_physdev_op
12 #define physdev_op_t                  physdev_op_compat_t
13 #define do_physdev_op                 compat_physdev_op
14 #define do_physdev_op_compat(x)       compat_physdev_op_compat(_##x)
15 
16 #define COMPAT
17 #define _XEN_GUEST_HANDLE(t) XEN_GUEST_HANDLE(t)
18 typedef int ret_t;
19 
20 #include "../compat.c"
21 
22 /*
23  * Local variables:
24  * mode: C
25  * c-file-style: "BSD"
26  * c-basic-offset: 4
27  * tab-width: 4
28  * indent-tabs-mode: nil
29  * End:
30  */
31