win-pvdrivers

annotate common/include/public/version.h @ 62:edd4a2ad5b44

Removed old inf files
author James Harper <james.harper@bendigoit.com.au>
date Wed Dec 19 10:22:50 2007 +1100 (2007-12-19)
parents 5712dede5a1b
children b474e898b409
rev   line source
andy@12 1 /******************************************************************************
andy@12 2 * version.h
andy@12 3 *
andy@12 4 * Xen version, type, and compile information.
andy@12 5 *
andy@12 6 * Permission is hereby granted, free of charge, to any person obtaining a copy
andy@12 7 * of this software and associated documentation files (the "Software"), to
andy@12 8 * deal in the Software without restriction, including without limitation the
andy@12 9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
andy@12 10 * sell copies of the Software, and to permit persons to whom the Software is
andy@12 11 * furnished to do so, subject to the following conditions:
andy@12 12 *
andy@12 13 * The above copyright notice and this permission notice shall be included in
andy@12 14 * all copies or substantial portions of the Software.
andy@12 15 *
andy@12 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
andy@12 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
andy@12 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
andy@12 19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
andy@12 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
andy@12 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
andy@12 22 * DEALINGS IN THE SOFTWARE.
andy@12 23 *
andy@12 24 * Copyright (c) 2005, Nguyen Anh Quynh <aquynh@gmail.com>
andy@12 25 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
andy@12 26 */
andy@12 27
andy@12 28 #ifndef __XEN_PUBLIC_VERSION_H__
andy@12 29 #define __XEN_PUBLIC_VERSION_H__
andy@12 30
andy@12 31 /* NB. All ops return zero on success, except XENVER_{version,pagesize} */
andy@12 32
andy@12 33 /* arg == NULL; returns major:minor (16:16). */
andy@12 34 #define XENVER_version 0
andy@12 35
andy@12 36 /* arg == xen_extraversion_t. */
andy@12 37 #define XENVER_extraversion 1
andy@12 38 typedef char xen_extraversion_t[16];
andy@12 39 #define XEN_EXTRAVERSION_LEN (sizeof(xen_extraversion_t))
andy@12 40
andy@12 41 /* arg == xen_compile_info_t. */
andy@12 42 #define XENVER_compile_info 2
andy@12 43 struct xen_compile_info {
andy@12 44 char compiler[64];
andy@12 45 char compile_by[16];
andy@12 46 char compile_domain[32];
andy@12 47 char compile_date[32];
andy@12 48 };
andy@12 49 typedef struct xen_compile_info xen_compile_info_t;
andy@12 50
andy@12 51 #define XENVER_capabilities 3
andy@12 52 typedef char xen_capabilities_info_t[1024];
andy@12 53 #define XEN_CAPABILITIES_INFO_LEN (sizeof(xen_capabilities_info_t))
andy@12 54
andy@12 55 #define XENVER_changeset 4
andy@12 56 typedef char xen_changeset_info_t[64];
andy@12 57 #define XEN_CHANGESET_INFO_LEN (sizeof(xen_changeset_info_t))
andy@12 58
andy@12 59 #define XENVER_platform_parameters 5
andy@12 60 struct xen_platform_parameters {
andy@12 61 unsigned long virt_start;
andy@12 62 };
andy@12 63 typedef struct xen_platform_parameters xen_platform_parameters_t;
andy@12 64
andy@12 65 #define XENVER_get_features 6
andy@12 66 struct xen_feature_info {
andy@12 67 unsigned int submap_idx; /* IN: which 32-bit submap to return */
andy@12 68 uint32_t submap; /* OUT: 32-bit submap */
andy@12 69 };
andy@12 70 typedef struct xen_feature_info xen_feature_info_t;
andy@12 71
andy@12 72 /* Declares the features reported by XENVER_get_features. */
andy@12 73 #include "features.h"
andy@12 74
andy@12 75 /* arg == NULL; returns host memory page size. */
andy@12 76 #define XENVER_pagesize 7
andy@12 77
andy@12 78 /* arg == xen_domain_handle_t. */
andy@12 79 #define XENVER_guest_handle 8
andy@12 80
andy@12 81 #endif /* __XEN_PUBLIC_VERSION_H__ */
andy@12 82
andy@12 83 /*
andy@12 84 * Local variables:
andy@12 85 * mode: C
andy@12 86 * c-set-style: "BSD"
andy@12 87 * c-basic-offset: 4
andy@12 88 * tab-width: 4
andy@12 89 * indent-tabs-mode: nil
andy@12 90 * End:
andy@12 91 */