8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / sun4u / javelin / os / javelin.c
blobacbc759d76dd5bac089182d54fc7da58d7bc7abe
1 /*
2 * CDDL HEADER START
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
7 * with the License.
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]
20 * CDDL HEADER END
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>
37 void
38 startup_platform(void)
42 int
43 set_platform_tsb_spares()
45 return (0);
48 void
49 set_platform_defaults(void)
53 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");
61 /*ARGSUSED*/
62 int
63 plat_cpu_poweron(struct cpu *cp)
65 return (ENOTSUP); /* not supported on this platform */
68 /*ARGSUSED*/
69 int
70 plat_cpu_poweroff(struct cpu *cp)
72 return (ENOTSUP); /* not supported on this platform */
75 /*ARGSUSED*/
76 void
77 plat_freelist_process(int mnode)
82 * No platform drivers on this platform
84 char *platform_module_list[] = {
85 (char *)0
88 /*ARGSUSED*/
89 void
90 plat_tod_fault(enum tod_fault_type tod_bad)