ia64/xen-unstable

view xen/include/public/version.h @ 5650:95685fbba2ca

Replace implicit 16-byte arg to xen_extraversion with an
explicit typedef.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
author kaf24@firebug.cl.cam.ac.uk
date Sun Jul 03 12:39:03 2005 +0000 (2005-07-03)
parents 649cd37aa1ab
children 09067ce92303 f8acd354e129
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 #endif /* __XEN_PUBLIC_VERSION_H__ */