aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/interface/grant_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/interface/grant_table.h')
-rw-r--r--include/xen/interface/grant_table.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/xen/interface/grant_table.h b/include/xen/interface/grant_table.h
index a17d84433e6..f9f8b975ae7 100644
--- a/include/xen/interface/grant_table.h
+++ b/include/xen/interface/grant_table.h
@@ -338,7 +338,7 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_dump_table);
338#define GNTTABOP_transfer 4 338#define GNTTABOP_transfer 4
339struct gnttab_transfer { 339struct gnttab_transfer {
340 /* IN parameters. */ 340 /* IN parameters. */
341 unsigned long mfn; 341 xen_pfn_t mfn;
342 domid_t domid; 342 domid_t domid;
343 grant_ref_t ref; 343 grant_ref_t ref;
344 /* OUT parameters. */ 344 /* OUT parameters. */
@@ -375,7 +375,7 @@ struct gnttab_copy {
375 struct { 375 struct {
376 union { 376 union {
377 grant_ref_t ref; 377 grant_ref_t ref;
378 unsigned long gmfn; 378 xen_pfn_t gmfn;
379 } u; 379 } u;
380 domid_t domid; 380 domid_t domid;
381 uint16_t offset; 381 uint16_t offset;
@@ -519,7 +519,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version);
519#define GNTST_no_device_space (-7) /* Out of space in I/O MMU. */ 519#define GNTST_no_device_space (-7) /* Out of space in I/O MMU. */
520#define GNTST_permission_denied (-8) /* Not enough privilege for operation. */ 520#define GNTST_permission_denied (-8) /* Not enough privilege for operation. */
521#define GNTST_bad_page (-9) /* Specified page was invalid for op. */ 521#define GNTST_bad_page (-9) /* Specified page was invalid for op. */
522#define GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary */ 522#define GNTST_bad_copy_arg (-10) /* copy arguments cross page boundary. */
523#define GNTST_address_too_big (-11) /* transfer page address too large. */
524#define GNTST_eagain (-12) /* Operation not done; try again. */
523 525
524#define GNTTABOP_error_msgs { \ 526#define GNTTABOP_error_msgs { \
525 "okay", \ 527 "okay", \
@@ -532,7 +534,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version);
532 "no spare translation slot in the I/O MMU", \ 534 "no spare translation slot in the I/O MMU", \
533 "permission denied", \ 535 "permission denied", \
534 "bad page", \ 536 "bad page", \
535 "copy arguments cross page boundary" \ 537 "copy arguments cross page boundary", \
538 "page address size too large", \
539 "operation not done; try again" \
536} 540}
537 541
538#endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */ 542#endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */