/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#ifndef _SYS_NIAGARA2REGS_H
#define _SYS_NIAGARA2REGS_H
#ifdef __cplusplus
extern "C" {
#endif
#define NIAGARA2_HSVC_MINOR 0
#define VFALLS_HSVC_MINOR 0
#define KT_HSVC_MINOR 0
#ifdef KT_IMPL
/* Sample PIC overflow range is -2 to -1 */
#endif
/* PIC overflow range is -16 to -1 */
/*
* SPARC Performance Instrumentation Counter
*/
/*
* SPARC Performance Control Register
*/
#define CPC_PCR_PRIV_SHIFT 0
#if defined(KT_IMPL)
#endif
/*
* performance counters for Niagara2
*/
/*
* performance counters for Victoria Falls
*/
/*
* performance counters for KT
*/
#if defined(KT_IMPL)
/*
* KT DRAM performance counters
*/
#else
/*
* Niagara2 and VF DRAM performance counters
*/
#endif
#if defined(NIAGARA2_IMPL)
/*
* and HV_NIAGARA2_SETPERF for Niagara2
*/
#elif defined(VFALLS_IMPL)
/*
* and HV_VFALLS_SETPERF for Victoria Falls
* Support for 4-node configuration
*/
/*
* and HV_KT_SETPERF for KT
* Support for 4-node configuration
*/
#endif
#ifdef VFALLS_IMPL
/*
* Performance counters for Zambezi. Zambezi is only supported with
* Victoria Falls (UltraSPARC-T2+).
*/
#endif
#ifndef _ASM
/*
* performance counters
*/
#endif
#ifdef __cplusplus
}
#endif
#endif /* _SYS_NIAGARA2REGS_H */