Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e58f5b55 authored by Ian Campbell's avatar Ian Campbell Committed by Konrad Rzeszutek Wilk
Browse files

xen: resynchronise grant table status codes with upstream



Adds GNTST_address_too_big and GNTST_eagain.

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 98104c34
Loading
Loading
Loading
Loading
+6 −2
Original line number Original line Diff line number Diff line
@@ -519,7 +519,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version);
#define GNTST_no_device_space  (-7) /* Out of space in I/O MMU.              */
#define GNTST_no_device_space  (-7) /* Out of space in I/O MMU.              */
#define GNTST_permission_denied (-8) /* Not enough privilege for operation.  */
#define GNTST_permission_denied (-8) /* Not enough privilege for operation.  */
#define GNTST_bad_page         (-9) /* Specified page was invalid for op.    */
#define GNTST_bad_page         (-9) /* Specified page was invalid for op.    */
#define GNTST_bad_copy_arg    (-10) /* copy arguments cross page boundary */
#define GNTST_bad_copy_arg    (-10) /* copy arguments cross page boundary.   */
#define GNTST_address_too_big (-11) /* transfer page address too large.      */
#define GNTST_eagain          (-12) /* Operation not done; try again.        */


#define GNTTABOP_error_msgs {                   \
#define GNTTABOP_error_msgs {                   \
    "okay",                                     \
    "okay",                                     \
@@ -532,7 +534,9 @@ DEFINE_GUEST_HANDLE_STRUCT(gnttab_get_version);
    "no spare translation slot in the I/O MMU", \
    "no spare translation slot in the I/O MMU", \
    "permission denied",                        \
    "permission denied",                        \
    "bad page",                                 \
    "bad page",                                 \
    "copy arguments cross page boundary"        \
    "copy arguments cross page boundary",       \
    "page address size too large",              \
    "operation not done; try again"             \
}
}


#endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */
#endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */