xref: /titanic_52/usr/src/uts/intel/io/mc-amd/mcamd_off.in (revision 2b24ab6b3865caeede9eeb9db6b83e1d89dcd1ea)
1\
2\ CDDL HEADER START
3\
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.
7\
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.
12\
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]
18\
19\ CDDL HEADER END
20\
21
22\
23\ Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24\ Use is subject to license terms.
25\
26
27#include <mcamd.h>
28
29mc_t
30	mc_props.mcp_num		MCAMD_MC_OFF_NUM
31	mc_props.mcp_rev		MCAMD_MC_OFF_REV
32	mc_props.mcp_base		MCAMD_MC_OFF_BASE_ADDR
33	mc_props.mcp_lim		MCAMD_MC_OFF_LIM_ADDR
34	mc_props.mcp_ilen		MCAMD_MC_OFF_ILEN
35	mc_props.mcp_ilsel		MCAMD_MC_OFF_ILSEL
36	mc_props.mcp_csintlvfctr	MCAMD_MC_OFF_CSINTLVFCTR
37	mc_props.mcp_dramhole_size	MCAMD_MC_OFF_DRAMHOLE_SIZE
38	mc_props.mcp_accwidth		MCAMD_MC_OFF_ACCWIDTH
39	mc_props.mcp_csbankmapreg	MCAMD_MC_OFF_CSBANKMAPREG
40	mc_props.mcp_bnkswzl		MCAMD_MC_OFF_BNKSWZL
41	mc_props.mcp_mod64mux		MCAMD_MC_OFF_MOD64MUX
42	mc_props.mcp_sparecs		MCAMD_MC_OFF_SPARECS
43	mc_props.mcp_badcs		MCAMD_MC_OFF_BADCS
44	mc_cfgregs.mcr_drambase		MCAMD_MC_OFF_DRAMBASE_REG
45	mc_cfgregs.mcr_dramlimit	MCAMD_MC_OFF_DRAMLIMIT_REG
46	mc_cfgregs.mcr_dramhole		MCAMD_MC_OFF_DRAMHOLE_REG
47	mc_cfgregs.mcr_dramcfglo	MCAMD_MC_OFF_DRAMCFGLO_REG
48	mc_cfgregs.mcr_dramcfghi	MCAMD_MC_OFF_DRAMCFGHI_REG
49
50mc_cs_t
51	mccs_props.csp_num		MCAMD_CS_OFF_NUM
52	mccs_props.csp_base		MCAMD_CS_OFF_BASE_ADDR
53	mccs_props.csp_mask		MCAMD_CS_OFF_MASK
54	mccs_props.csp_size		MCAMD_CS_OFF_SIZE
55	mccs_props.csp_csbe		MCAMD_CS_OFF_CSBE
56	mccs_props.csp_spare		MCAMD_CS_OFF_SPARE
57	mccs_props.csp_testfail		MCAMD_CS_OFF_TESTFAIL
58	mccs_props.csp_dimmnums		MCAMD_CS_OFF_DIMMNUMS
59	mccs_props.csp_dimmrank		MCAMD_CS_OFF_DIMMRANK
60	mccs_cfgregs.csr_csbase		MCAMD_CS_OFF_CSBASE_REG
61	mccs_cfgregs.csr_csmask		MCAMD_CS_OFF_CSMASK_REG
62
63mc_dimm_t
64	mcd_num			MCAMD_DIMM_OFF_NUM
65	mcd_size		MCAMD_DIMM_OFF_SIZE
66
67