source: trunk/packages/xen-3.1/xen-3.1/xen/common/compat/xenoprof.c @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 727 bytes
Line 
1/*
2 * compat/xenoprof.c
3 */
4
5#include <compat/xenoprof.h>
6
7#define COMPAT
8
9#define do_xenoprof_op compat_xenoprof_op
10
11#define xen_oprof_init xenoprof_init
12CHECK_oprof_init;
13#undef xen_oprof_init
14
15#define xenoprof_get_buffer compat_oprof_get_buffer
16#define xenoprof_op_get_buffer compat_oprof_op_get_buffer
17
18#define xen_domid_t domid_t
19#define compat_domid_t domid_compat_t
20CHECK_TYPE(domid);
21#undef compat_domid_t
22#undef xen_domid_t
23
24#define xen_oprof_passive xenoprof_passive
25CHECK_oprof_passive;
26#undef xen_oprof_passive
27
28#define xenoprof_counter compat_oprof_counter
29
30#include "../xenoprof.c"
31
32/*
33 * Local variables:
34 * mode: C
35 * c-set-style: "BSD"
36 * c-basic-offset: 4
37 * tab-width: 4
38 * indent-tabs-mode: nil
39 * End:
40 */
Note: See TracBrowser for help on using the repository browser.