4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 1998, 2001-2002 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #include <sys/param.h>
30 #include <sys/systm.h>
31 #include <sys/sunddi.h>
32 #include <sys/modctl.h>
34 #include <sys/platform_module.h>
35 #include <sys/errno.h>
38 startup_platform(void)
43 set_platform_tsb_spares()
49 set_platform_defaults(void)
54 load_platform_drivers(void)
56 if (i_ddi_attach_hw_nodes("envctrltwo") != DDI_SUCCESS
) {
57 cmn_err(CE_WARN
, "Envctrltwo failed to load\n");
63 plat_cpu_poweron(struct cpu
*cp
)
65 return (ENOTSUP
); /* not supported on this platform */
70 plat_cpu_poweroff(struct cpu
*cp
)
72 return (ENOTSUP
); /* not supported on this platform */
77 plat_freelist_process(int mnode
)
82 * No platform drivers on this platform
84 char *platform_module_list
[] = {
90 plat_tod_fault(enum tod_fault_type tod_bad
)