1 /*	$NetBSD: svr4_systeminfo.h,v 1.7 2008/04/28 20:23:45 martin Exp $	 */
2 
3 /*-
4  * Copyright (c) 1994 The NetBSD Foundation, Inc.
5  * All rights reserved.
6  *
7  * This code is derived from software contributed to The NetBSD Foundation
8  * by Christos Zoulas.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  * 1. Redistributions of source code must retain the above copyright
14  *    notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  *    notice, this list of conditions and the following disclaimer in the
17  *    documentation and/or other materials provided with the distribution.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29  * POSSIBILITY OF SUCH DAMAGE.
30  */
31 
32 #ifndef	_SVR4_SYSTEMINFO_H_
33 #define	_SVR4_SYSTEMINFO_H_
34 
35 #define	SVR4_SI_SYSNAME			1
36 #define	SVR4_SI_HOSTNAME		2
37 #define	SVR4_SI_RELEASE			3
38 #define	SVR4_SI_VERSION			4
39 #define	SVR4_SI_MACHINE			5
40 #define	SVR4_SI_ARCHITECTURE		6
41 #define	SVR4_SI_HW_SERIAL		7
42 #define	SVR4_SI_HW_PROVIDER		8
43 #define	SVR4_SI_SRPC_DOMAIN		9
44 #define SVR4_SI_INITTAB_NAME		10
45 
46 #define SVR4_MIPS_SI_VENDOR		100
47 #define SVR4_MIPS_SI_OS_PROVIDER	101
48 #define SVR4_MIPS_SI_OS_NAME		102
49 #define SVR4_MIPS_SI_HW_NAME		103
50 #define SVR4_MIPS_SI_NUM_PROCESSORS	104
51 #define SVR4_MIPS_SI_HOSTID		105
52 #define SVR4_MIPS_SI_OSREL_MAJ		106
53 #define SVR4_MIPS_SI_OSREL_MIN		107
54 #define SVR4_MIPS_SI_OSREL_PATCH	108
55 #define SVR4_MIPS_SI_PROCESSORS		109
56 #define SVR4_MIPS_SI_AVAIL_PROCESSORS	110
57 #define SVR4_MIPS_SI_SERIAL		111
58 
59 #define	SVR4_SI_SET_HOSTNAME		258
60 #define	SVR4_SI_SET_SRPC_DOMAIN		265
61 #define	SVR4_SI_SET_KERB_REALM		266
62 #define SVR4_SI_KERB_REALM		267
63 #define	SVR4_SI_PLATFORM		513
64 #define	SVR4_SI_ISALIST			514
65 
66 #endif /* !_SVR4_SYSTEMINFO_H_ */
67