2 This file is part of Valgrind, a dynamic binary instrumentation
5 Copyright (C) 2012-2017 Citrix
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the
10 License, or (at your option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, see <http://www.gnu.org/licenses/>.
20 The GNU General Public License is contained in the file COPYING.
23 /* Contributed by Andrew Cooper <andrew.cooper3@citrix.com>
24 and Ian Campbell <ian.campbell@citrix.com> */
26 #ifndef __VKI_XEN_VERSION_H
27 #define __VKI_XEN_VERSION_H
29 #define VKI_XENVER_version 0
30 #define VKI_XENVER_extraversion 1
31 #define VKI_XENVER_compile_info 2
32 #define VKI_XENVER_capabilities 3
33 #define VKI_XENVER_changeset 4
34 #define VKI_XENVER_platform_parameters 5
35 #define VKI_XENVER_get_features 6
36 #define VKI_XENVER_pagesize 7
37 #define VKI_XENVER_guest_handle 8
38 #define VKI_XENVER_commandline 9
40 typedef char vki_xen_extraversion_t
[16];
42 struct vki_xen_compile_info
{
45 char compile_domain
[32];
46 char compile_date
[32];
49 typedef char vki_xen_capabilities_info_t
[1024];
51 typedef char vki_xen_changeset_info_t
[64];
53 struct vki_xen_platform_parameters
{
54 unsigned long virt_start
;
57 struct vki_xen_feature_info
{
58 unsigned int submap_idx
; /* IN: which 32-bit submap to return */
59 vki_uint32_t submap
; /* OUT: 32-bit submap */
62 typedef char vki_xen_commandline_t
[1024];
64 #endif // __VKI_XEN_VERSION_H
66 /*--------------------------------------------------------------------*/
68 /*--------------------------------------------------------------------*/