linux/include/xen/interface/version.h

/* SPDX-License-Identifier: MIT */
/******************************************************************************
 * version.h
 *
 * Xen version, type, and compile information.
 *
 * Copyright (c) 2005, Nguyen Anh Quynh <[email protected]>
 * Copyright (c) 2005, Keir Fraser <[email protected]>
 */

#ifndef __XEN_PUBLIC_VERSION_H__
#define __XEN_PUBLIC_VERSION_H__

/* NB. All ops return zero on success, except XENVER_version. */

/* arg == NULL; returns major:minor (16:16). */
#define XENVER_version

/* arg == xen_extraversion_t. */
#define XENVER_extraversion
struct xen_extraversion {};
#define XEN_EXTRAVERSION_LEN

/* arg == xen_compile_info_t. */
#define XENVER_compile_info
struct xen_compile_info {};

#define XENVER_capabilities
struct xen_capabilities_info {};
#define XEN_CAPABILITIES_INFO_LEN

#define XENVER_changeset
struct xen_changeset_info {};
#define XEN_CHANGESET_INFO_LEN

#define XENVER_platform_parameters
struct xen_platform_parameters {};

#define XENVER_get_features
struct xen_feature_info {};

/* Declares the features reported by XENVER_get_features. */
#include <xen/interface/features.h>

/* arg == NULL; returns host memory page size. */
#define XENVER_pagesize

/* arg == xen_domain_handle_t. */
#define XENVER_guest_handle

#define XENVER_commandline
struct xen_commandline {};

/*
 * Return value is the number of bytes written, or XEN_Exx on error.
 * Calling with empty parameter returns the size of build_id.
 */
#define XENVER_build_id
struct xen_build_id {};

#endif /* __XEN_PUBLIC_VERSION_H__ */