1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/******************************************************************************
* guest_access.h
*
* Copyright (x) 2006, K A Fraser
*/
#ifndef __XEN_GUEST_ACCESS_H__
#define __XEN_GUEST_ACCESS_H__
#include <asm/guest_access.h>
#define copy_to_guest(hnd, ptr, nr) \
copy_to_guest_offset(hnd, 0, ptr, nr)
#define copy_from_guest(ptr, hnd, nr) \
copy_from_guest_offset(ptr, hnd, 0, nr)
#define clear_guest(hnd, nr) \
clear_guest_offset(hnd, 0, nr)
#define __copy_to_guest(hnd, ptr, nr) \
__copy_to_guest_offset(hnd, 0, ptr, nr)
#define __copy_from_guest(ptr, hnd, nr) \
__copy_from_guest_offset(ptr, hnd, 0, nr)
#define __clear_guest(hnd, nr) \
__clear_guest_offset(hnd, 0, nr)
#endif /* __XEN_GUEST_ACCESS_H__ */
|