/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _CHERRYSTONE_H
#define _CHERRYSTONE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* cherrystone.h - Cherrystone common header file
*
* This header file contains the common definitions and macros for the
* Cherrystone platform. We define them all here to avoid them being redefined
* in numerous different drivers and daemons.
*/
/*
* Slot SlotID Agent ID
* ---- ------ --------
* 0 0 <==> 0
* 0 1 <==> 2
* 1 0 <==> 1
* 1 1 <==> 3
* 4[*] - <==> 8 (Schizo0)
* 5[*] - <==> 9 (Schizo1)
*
* [*] Fake slot numbers used for prtdiag bookkeeping
*/
/*
* These values are taken from Appendices R and U of the UltraSPARC-III
* JPS1 Implementation Supplement.
*/
/*
* Cherrystone slices are defined by bits 36..39 of the physical address space
*/
/* Define the number of possible slices for the span of slice bits */
#ifdef __cplusplus
}
#endif
#endif /* _CHERRYSTONE_H */