xen-vt-testing

view xen/include/public/version.h @ 6705:a5e9a7fcade9

cleanups
author kaf24@firebug.cl.cam.ac.uk
date Fri Sep 09 16:17:17 2005 +0000 (2005-09-09)
parents ec4a3f2d060e
children 813c37b68376
line source
1 /******************************************************************************
2 * version.h
3 *
4 * Xen version, type, and compile information.
5 *
6 * Copyright (c) 2005, Nguyen Anh Quynh <aquynh@gmail.com>
7 * Copyright (c) 2005, Keir Fraser <keir@xensource.com>
8 */
10 #ifndef __XEN_PUBLIC_VERSION_H__
11 #define __XEN_PUBLIC_VERSION_H__
13 /* NB. All ops return zero on success, except XENVER_version. */
15 /* arg == NULL; returns major:minor (16:16). */
16 #define XENVER_version 0
18 /* arg == xen_extraversion_t. */
19 #define XENVER_extraversion 1
20 typedef char xen_extraversion_t[16];
22 /* arg == xen_compile_info_t. */
23 #define XENVER_compile_info 2
24 typedef struct xen_compile_info {
25 char compiler[64];
26 char compile_by[16];
27 char compile_domain[32];
28 char compile_date[32];
29 } xen_compile_info_t;
31 #define XENVER_capabilities 3
32 typedef char xen_capabilities_info_t[1024];
34 #define XENVER_changeset 4
35 typedef char xen_changeset_info_t[64];
37 #define XENVER_parameters 5
38 typedef struct xen_parameters_info {
39 unsigned long virt_start;
40 } xen_parameters_info_t;
42 #endif /* __XEN_PUBLIC_VERSION_H__ */