mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
public/version: Change xen_feature_info to have a fixed size
This is technically an ABI change, but Xen doesn't operate in any environment where "unsigned int" is different to uint32_t, so switch to the explicit form. This avoids the need to derive (identical) compat logic for handling the subop. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
6bec713f87
commit
73f0696dc1
1 file changed
+1
-1
@@ -50,7 +50,7 @@ typedef struct xen_platform_parameters xen_platform_parameters_t;
|
||||
|
||||
#define XENVER_get_features 6
|
||||
struct xen_feature_info {
|
||||
unsigned int submap_idx; /* IN: which 32-bit submap to return */
|
||||
uint32_t submap_idx; /* IN: which 32-bit submap to return */
|
||||
uint32_t submap; /* OUT: 32-bit submap */
|
||||
};
|
||||
typedef struct xen_feature_info xen_feature_info_t;
|
||||
|
||||