diff options
author | Annie Li <annie.li@oracle.com> | 2011-11-22 09:58:06 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-11-22 09:23:44 -0500 |
commit | 0f9f5a9588468cddeccc9146b86798492c7cd4f5 (patch) | |
tree | 2743d8d40497383c1f4edc92d3ee9ddbf42d28a9 /include/xen/interface/xen.h | |
parent | 3b456ae900705dda029f81a6cceed64d7f1ddfbd (diff) | |
download | talos-obmc-linux-0f9f5a9588468cddeccc9146b86798492c7cd4f5.tar.gz talos-obmc-linux-0f9f5a9588468cddeccc9146b86798492c7cd4f5.zip |
xen/granttable: Introducing grant table V2 stucture
This patch introduces new structures of grant table V2, grant table V2 is an
extension from V1. Grant table is shared between guest and Xen, and Xen is
responsible to do corresponding work for grant operations, such as: figure
out guest's grant table version, perform different actions based on
different grant table version, etc. Although full-page structure of V2
is different from V1, it play the same role as V1.
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Annie Li <annie.li@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/interface/xen.h')
-rw-r--r-- | include/xen/interface/xen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index 6a6e91449347..a890804945e3 100644 --- a/include/xen/interface/xen.h +++ b/include/xen/interface/xen.h @@ -523,6 +523,8 @@ struct tmem_op { } u; }; +DEFINE_GUEST_HANDLE(u64); + #else /* __ASSEMBLY__ */ /* In assembly code we cannot use C numeric constant suffixes. */ |