xref: /onnv-gate/usr/src/cmd/fps/fptest/fps_defines.h (revision 6491:448e02e63395)
16429Svs195195 /*
26429Svs195195  * CDDL HEADER START
36429Svs195195  *
46429Svs195195  * The contents of this file are subject to the terms of the
56429Svs195195  * Common Development and Distribution License (the "License").
66429Svs195195  * You may not use this file except in compliance with the License.
76429Svs195195  *
86429Svs195195  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96429Svs195195  * or http://www.opensolaris.org/os/licensing.
106429Svs195195  * See the License for the specific language governing permissions
116429Svs195195  * and limitations under the License.
126429Svs195195  *
136429Svs195195  * When distributing Covered Code, include this CDDL HEADER in each
146429Svs195195  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156429Svs195195  * If applicable, add the following below this CDDL HEADER, with the
166429Svs195195  * fields enclosed by brackets "[]" replaced with your own identifying
176429Svs195195  * information: Portions Copyright [yyyy] [name of copyright owner]
186429Svs195195  *
196429Svs195195  * CDDL HEADER END
206429Svs195195  */
216429Svs195195 
226429Svs195195 /*
23*6491Sia112686  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
246429Svs195195  * Use is subject to license terms.
256429Svs195195  */
266429Svs195195 
276429Svs195195 #ifndef _FPS_DEFINES_H
286429Svs195195 #define	_FPS_DEFINES_H
296429Svs195195 
306429Svs195195 #pragma ident	"%Z%%M%	%I%	%E% SMI"
316429Svs195195 
326429Svs195195 #ifdef __cplusplus
336429Svs195195 extern "C" {
346429Svs195195 #endif
356429Svs195195 
366429Svs195195 /* defines for fps_ereport_mod.c sysevent channel */
376429Svs195195 #define	SUBCLASS	"FPU_Miscompare"
386429Svs195195 #define	VENDOR		"SUNW"
396429Svs195195 #define	PUBLISHER	"FPScrubber"
406429Svs195195 #define	BIND_FLAGS	EVCH_CREAT | EVCH_HOLD_PEND
416429Svs195195 
426429Svs195195 /* defines for fps_ereport_mod.c nvlist names */
436429Svs195195 #define	NAME_FPS_VERSION	"fps-version"
446429Svs195195 #define	NAME_FPS_CPU		"cpu"
456429Svs195195 #define	NAME_FPS_TEST_ID	"test-id"
466429Svs195195 #define	NAME_FPS_EXPECTED_VALUE	"expected-value"
476429Svs195195 #define	NAME_FPS_OBSERVED_VALUE	"observed-value"
486429Svs195195 #define	NAME_FPS_RESOURCE	"resource"
496429Svs195195 #define	NAME_FPS_DETECTOR	"detector"
506429Svs195195 #define	NAME_FPS_ENA		"ena"
516429Svs195195 #define	NAME_FPS_CLASS		"class"
526429Svs195195 #define	NAME_FPS_STRING_DATA	"info"
536429Svs195195 #define	FPS_VERSION			0x1
546429Svs195195 
556429Svs195195 
566429Svs195195 /* defines for CPU names */
576429Svs195195 #define	USIII_KSTAT	"UltraSPARC-III"
586429Svs195195 #define	USIIIi_KSTAT	"UltraSPARC-IIIi"
596429Svs195195 #define	USIIIP_KSTAT	"UltraSPARC-III+"
606429Svs195195 #define	USIV_KSTAT	"UltraSPARC-IV"
616429Svs195195 #define	USIVP_KSTAT	"UltraSPARC-IV+"
626429Svs195195 
636429Svs195195 #ifdef __cplusplus
646429Svs195195 }
656429Svs195195 #endif
666429Svs195195 
676429Svs195195 #endif /* _FPS_DEFINES_H */
68