The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/xen/interface/version.h

Version: -  FREEBSD  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-2  -  FREEBSD-11-1  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-4  -  FREEBSD-10-3  -  FREEBSD-10-2  -  FREEBSD-10-1  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-3  -  FREEBSD-9-2  -  FREEBSD-9-1  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-4  -  FREEBSD-8-3  -  FREEBSD-8-2  -  FREEBSD-8-1  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-4  -  FREEBSD-7-3  -  FREEBSD-7-2  -  FREEBSD-7-1  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-4  -  FREEBSD-6-3  -  FREEBSD-6-2  -  FREEBSD-6-1  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-5  -  FREEBSD-5-4  -  FREEBSD-5-3  -  FREEBSD-5-2  -  FREEBSD-5-1  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

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

Cache object: d92496bb3d76eaa8c578fdc2020f7432


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.