aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/grant_table.h
diff options
context:
space:
mode:
authorAnnie Li <annie.li@oracle.com>2011-11-21 20:58:06 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-11-22 09:23:44 -0500
commit0f9f5a9588468cddeccc9146b86798492c7cd4f5 (patch)
tree2743d8d40497383c1f4edc92d3ee9ddbf42d28a9 /include/xen/grant_table.h
parent3b456ae900705dda029f81a6cceed64d7f1ddfbd (diff)
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/grant_table.h')
-rw-r--r--include/xen/grant_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h
index 11e2dfce42f8..c7a40f8d455a 100644
--- a/include/xen/grant_table.h
+++ b/include/xen/grant_table.h
@@ -145,8 +145,8 @@ gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr,
145 145
146int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes, 146int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes,
147 unsigned long max_nr_gframes, 147 unsigned long max_nr_gframes,
148 struct grant_entry **__shared); 148 void **__shared);
149void arch_gnttab_unmap_shared(struct grant_entry *shared, 149void arch_gnttab_unmap_shared(void *shared,
150 unsigned long nr_gframes); 150 unsigned long nr_gframes);
151 151
152extern unsigned long xen_hvm_resume_frames; 152extern unsigned long xen_hvm_resume_frames;