3 typedef unsigned char uint8_t;
4 typedef unsigned char uint8;
5 typedef unsigned short uint16_t;
6 typedef unsigned long uint32_t;
7 typedef unsigned long long uint64_t;
11 typedef long long int64_t;
13 #define __attribute__(x)
33 #undef mk_unsigned_long
34 #define mk_unsigned_long(x) ((unsigned long)(x))
36 #ifndef set_xen_guest_handle
37 #define set_xen_guest_handle(hnd, val) hnd = val
40 extern ulong hypervisor_virt_start;
41 extern ulong *patomfn, *matopfn;
42 extern start_info_t *xenstart;
44 extern shared_info_t *HYPERVISOR_shared_info;
48 * XXX is this still viable?
51 #define VA(k) ((ulong)(k))
52 #define kmap(p) (KMap*)((p)->pa|KZERO)