4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
29 #pragma ident "%Z%%M% %I% %E% SMI"
35 #define ASI_CMP_SHARED 0x41 /* shared CMP registers */
36 #define ASI_CMP_PER_CORE 0x63 /* core-local CMP registers */
41 * |-----------------------|
42 * |MAX_CORE_ID|---|CORE_ID|
43 * |-----------------------|
46 #define ASI_CORE_ID 0x10 /* ASI 0x63, VA 0x10 */
47 #define COREID_MASK 0x3f
51 * Error Steering Register
58 #define ASI_CMP_ERROR_STEERING 0x40 /* ASI 0x41, VA 0x40 */
63 * |------------------------------|
64 * | |core running (status) |
65 * |------------------------------|
68 #define ASI_CORE_RUNNING_RW 0x50 /* ASI 0x41, VA 0x50 */
69 #define ASI_CORE_RUNNING_STATUS 0x58 /* ASI 0x41, VA 0x58 */
70 #define ASI_CORE_RUNNING_W1S 0x60 /* ASI 0x41, VA 0x60 */
71 #define ASI_CORE_RUNNING_W1C 0x68 /* ASI 0x41, VA 0x68 */
77 #endif /* _CMPREGS_H */