1 #ifdef __XEN__
2 
3 #include <xen/cache.h>
4 #include <xen/decompress.h>
5 #include <xen/init.h>
6 #include <xen/string.h>
7 #include <xen/types.h>
8 #include <xen/xmalloc.h>
9 
10 #define STATIC
11 #define INIT __init
12 #define INITDATA __initdata
13 
14 #define malloc xmalloc_bytes
15 #define free xfree
16 
17 #define large_malloc xmalloc_bytes
18 #define large_free xfree
19 
20 #else
21 
22 #define STATIC static
23 #define INIT
24 #define INITDATA
25 
26 #define large_malloc malloc
27 #define large_free free
28 
29 #endif
30