diff options
| author | Garrett D'Amore <Garrett.Damore@Sun.COM> | 2009-10-21 15:51:07 -0700 |
|---|---|---|
| committer | Garrett D'Amore <Garrett.Damore@Sun.COM> | 2009-10-21 15:51:07 -0700 |
| commit | 807e8f10a5bd74064a2c6ed98b73c845df2f834e (patch) | |
| tree | b7e3450fa380ede0f95048c0197eb80d4a9ca19a /usr/src/uts/sun4u | |
| parent | f0c3911fac870fd8926c517f55b39ea4489e5a97 (diff) | |
| download | illumos-joyent-807e8f10a5bd74064a2c6ed98b73c845df2f834e.tar.gz | |
PSARC 2009/538 EOF of Tadpole SPARCLE
6893086 EOF Tadpole SPARCLE (douglas)
Diffstat (limited to 'usr/src/uts/sun4u')
| -rw-r--r-- | usr/src/uts/sun4u/Makefile.sun4u.shared | 1 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile | 100 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.douglas | 28 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.douglas.shared | 74 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.files | 42 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.rules | 63 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.targ | 28 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/Makefile.targ.shared | 80 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/os/douglas.c | 178 | ||||
| -rw-r--r-- | usr/src/uts/sun4u/douglas/platmod/Makefile | 109 |
10 files changed, 0 insertions, 703 deletions
diff --git a/usr/src/uts/sun4u/Makefile.sun4u.shared b/usr/src/uts/sun4u/Makefile.sun4u.shared index ac71514173..4f6e6d935d 100644 --- a/usr/src/uts/sun4u/Makefile.sun4u.shared +++ b/usr/src/uts/sun4u/Makefile.sun4u.shared @@ -184,7 +184,6 @@ IMPLEMENTATIONS += lw8 IMPLEMENTATIONS += makaha IMPLEMENTATIONS += opl IMPLEMENTATIONS += lw2plus -IMPLEMENTATIONS += douglas $(CLOSED_BUILD)CLOSED_IMPLEMENTATIONS = chalupa $(CLOSED_BUILD)CLOSED_IMPLEMENTATIONS += ents diff --git a/usr/src/uts/sun4u/douglas/Makefile b/usr/src/uts/sun4u/douglas/Makefile deleted file mode 100644 index 93daba51f0..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile +++ /dev/null @@ -1,100 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 -# -# -# uts/sun4u/douglas/Makefile -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# This makefile drives the production of the sun4u douglas platform -# module. -# -# sun4u implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -UTSBASE = ../.. - -# -# Include common rules. -# -include $(UTSBASE)/sun4u/douglas/Makefile.douglas - -def := TARGET= def -all := TARGET= all -install := TARGET= install -install_h := TARGET= install_h -clean := TARGET= clean -clobber := TARGET= clobber -lint := TARGET= lint -lintlib := TARGET= lintlib -modlintlib := TARGET= modlintlib -modlist := TARGET= modlist -modlist := NO_STATE= -K $$MODSTATE$$$$ -clean.lint := TARGET= clean.lint -check := TARGET= check - -# -# Default build targets. -# -.KEEP_STATE: - -def all clean clean.lint clobber modlist: $(DOUGLAS_KMODS) - -modlintlib: $(DOUGLAS_KMODS) - -install: $(ROOT_DOUGLAS_DIR) \ - $(USR_DOUGLAS_DIR) \ - $(USR_DOUGLAS_INC_DIR) \ - $(USR_DOUGLAS_SBIN_DIR) \ - $(USR_DOUGLAS_LIB_DIR) \ - $(DOUGLAS_KMODS) - -check install_h: - -lint: modlintlib - -# -# The 'lint.platmod' target lints the douglas platform module against the sun4u -# kernel. This ends up doing all the kernel cross-checks, so it takes a couple -# of minutes. Due to the low ROI, it's not run by default, but it's a good -# idea to run this if you change os/douglas.c. -# -LINT_LIBS = $(LINT_LIB) \ - -L$(DOUGLAS_LINT_LIB_DIR) \ - -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \ - $(CLOSED_LINT_KMODS:%=-l%) \ - -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%) - -lint.platmod: modlintlib - @-$(ECHO) "\nDouglas Platform-dependent module: global crosschecks:" - @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2) - -$(DOUGLAS_KMODS): FRC - @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET) - -# -# Include common targets. -# -include $(UTSBASE)/sun4u/douglas/Makefile.targ diff --git a/usr/src/uts/sun4u/douglas/Makefile.douglas b/usr/src/uts/sun4u/douglas/Makefile.douglas deleted file mode 100644 index 79ad2e6463..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.douglas +++ /dev/null @@ -1,28 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -UTSTREE=$(UTSBASE) - -include $(UTSBASE)/sun4u/douglas/Makefile.douglas.shared diff --git a/usr/src/uts/sun4u/douglas/Makefile.douglas.shared b/usr/src/uts/sun4u/douglas/Makefile.douglas.shared deleted file mode 100644 index 9b6b00b3af..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.douglas.shared +++ /dev/null @@ -1,74 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 -# -# -# uts/sun4u/douglas/Makefile.douglas -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -#ident "%Z%%M% %I% %E% SMI" -# -# Global definitions for sun4u implementation specific modules. -# - -# -# Define directories. -# -ROOT_DOUGLAS_DIR = $(ROOT_PLAT_DIR)/TAD,SPARCLE -ROOT_DOUGLAS_MOD_DIR = $(ROOT_DOUGLAS_DIR)/kernel - -ROOT_DOUGLAS_MISC_DIR_32 = $(ROOT_DOUGLAS_MOD_DIR)/misc -ROOT_DOUGLAS_MISC_DIR_64 = $(ROOT_DOUGLAS_MISC_DIR_32)/$(SUBDIR64) -ROOT_DOUGLAS_DRV_DIR_32 = $(ROOT_DOUGLAS_MOD_DIR)/drv -ROOT_DOUGLAS_DRV_DIR_64 = $(ROOT_DOUGLAS_DRV_DIR_32)/$(SUBDIR64) - -ROOT_DOUGLAS_MISC_DIR = $(ROOT_DOUGLAS_MISC_DIR_$(CLASS)) -ROOT_DOUGLAS_DRV_DIR = $(ROOT_DOUGLAS_DRV_DIR_$(CLASS)) - -ROOT_PLAT_MOD_DIRS += $(ROOT_DOUGLAS_MOD_DIR) -ROOT_PLAT_MISC_DIRS += $(ROOT_DOUGLAS_MISC_DIR) - -USR_DOUGLAS_DIR = $(USR_PLAT_DIR)/TAD,SPARCLE -USR_DOUGLAS_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM) -USR_DOUGLAS_INC_DIR = $(USR_DOUGLAS_DIR)/include -USR_DOUGLAS_ISYS_DIR = $(USR_DOUGLAS_INC_DIR)/sys -USR_DOUGLAS_SBIN_DIR = $(USR_DOUGLAS_DIR)/sbin -USR_DOUGLAS_LIB_DIR = $(USR_DOUGLAS_DIR)/lib - - -DOUGLAS_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/douglas/lint-libs/$(OBJS_DIR) - -# -# Define objects. -# -DOUGLAS_OBJS = douglas.o - -include $(UTSTREE)/sun4u/douglas/Makefile.files - -# -# Include common rules. -# -include $(UTSTREE)/sun4u/Makefile.sun4u - -# -# Define modules (must come after Makefile.sun4u, for CLOSED_BUILD). -# -DOUGLAS_KMODS = platmod - diff --git a/usr/src/uts/sun4u/douglas/Makefile.files b/usr/src/uts/sun4u/douglas/Makefile.files deleted file mode 100644 index f896758909..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.files +++ /dev/null @@ -1,42 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 -# -# -# uts/sun4u/douglas/Makefile.files -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -#ident "%Z%%M% %I% %E% SMI" -# -# This Makefile defines all file modules for the directory -# uts/sun4u/douglas and it's children. These are the source files -# which are sun4u "implementation architecture" dependent. -# - -# -# object lists -# -# Douglas specific driver modules -# - -# -# Miscellaneous -# -INC_PATH += -I$(UTSBASE)/sun4u/douglas diff --git a/usr/src/uts/sun4u/douglas/Makefile.rules b/usr/src/uts/sun4u/douglas/Makefile.rules deleted file mode 100644 index 6b398ef315..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.rules +++ /dev/null @@ -1,63 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# This Makefile defines the build rules for the directory -# uts/sun4u/douglas. -# -# The following two-level ordering must be maintained in this file. -# Lines are sorted first in order of decreasing specificity based on -# the first directory component. That is, sun4u rules come before -# sparc rules come before common rules. -# -# Lines whose initial directory components are equal are sorted -# alphabetically by the remaining components. - -# -# Section 1a: C object build rules -# -$(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/io/%.c - $(COMPILE.c) -o $@ $< - $(CTFCONVERT_O) - -$(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/douglas/io/%.c - $(COMPILE.c) -o $@ $< - $(CTFCONVERT_O) - -$(OBJS_DIR)/%.o: $(UTSBASE)/sun4u/douglas/os/%.c - $(COMPILE.c) -o $@ $< - $(CTFCONVERT_O) - -# -# Section 1b: Lint `object' build rules -# -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/douglas/io/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) - -$(LINTS_DIR)/%.ln: $(UTSBASE)/sun4u/douglas/os/%.c - @($(LHEAD) $(LINT.c) $< $(LTAIL)) diff --git a/usr/src/uts/sun4u/douglas/Makefile.targ b/usr/src/uts/sun4u/douglas/Makefile.targ deleted file mode 100644 index 15069c78f5..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.targ +++ /dev/null @@ -1,28 +0,0 @@ -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -UTSTREE=$(UTSBASE) - -include $(UTSBASE)/sun4u/douglas/Makefile.targ.shared diff --git a/usr/src/uts/sun4u/douglas/Makefile.targ.shared b/usr/src/uts/sun4u/douglas/Makefile.targ.shared deleted file mode 100644 index cdb7a4f9f7..0000000000 --- a/usr/src/uts/sun4u/douglas/Makefile.targ.shared +++ /dev/null @@ -1,80 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# - -# -# Common targets for sun4u Douglas implementation specific modules. -# - -.KEEP_STATE: - -IMPLEMENTED_PLATFORM = TAD,SPARCLE - -# -# Rules for implementation subdirectories. -# -$(ROOT_DOUGLAS_DIR): $(ROOT_PLAT_DIR) - -$(INS.dir) - -$(ROOT_DOUGLAS_MOD_DIR): $(ROOT_DOUGLAS_DIR) - -$(INS.dir) - -$(ROOT_DOUGLAS_MISC_DIR_32): $(ROOT_DOUGLAS_MOD_DIR) - -$(INS.dir) - -$(ROOT_DOUGLAS_MISC_DIR_64): $(ROOT_DOUGLAS_MISC_DIR_32) - -$(INS.dir) - -$(ROOT_DOUGLAS_DRV_DIR_32): $(ROOT_DOUGLAS_MOD_DIR) - -$(INS.dir) - -$(ROOT_DOUGLAS_DRV_DIR_64): $(ROOT_DOUGLAS_DRV_DIR_32) - -$(INS.dir) - -$(USR_DOUGLAS_DIR): $(USR_PLAT_DIR) - -$(INS.dir) - -$(USR_DOUGLAS_INC_DIR): $(USR_DOUGLAS_DIR) - -$(INS.slink4) - -$(USR_DOUGLAS_SBIN_DIR): $(USR_DOUGLAS_DIR) - -$(INS.slink5) - -$(USR_DOUGLAS_LIB_DIR): $(USR_DOUGLAS_DIR) - -$(INS.dir) - -$(ROOT_DOUGLAS_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_DOUGLAS_MOD_DIR) FRC - $(INS.file) - -$(ROOT_DOUGLAS_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_DOUGLAS_MISC_DIR) FRC - $(INS.file) - -$(ROOT_DOUGLAS_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_DOUGLAS_DRV_DIR) FRC - $(INS.file) - -# -# Include common targets. -# -include $(UTSTREE)/sun4u/douglas/Makefile.rules -include $(UTSTREE)/sun4u/Makefile.targ diff --git a/usr/src/uts/sun4u/douglas/os/douglas.c b/usr/src/uts/sun4u/douglas/os/douglas.c deleted file mode 100644 index 3b74df3e77..0000000000 --- a/usr/src/uts/sun4u/douglas/os/douglas.c +++ /dev/null @@ -1,178 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (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 - * or http://www.opensolaris.org/os/licensing. - * 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 2007 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/sunddi.h> -#include <sys/esunddi.h> -#include <sys/ddi.h> - -#include <sys/platform_module.h> -#include <sys/errno.h> - -void -startup_platform(void) -{ -} - -int -set_platform_tsb_spares() -{ - return (0); -} - -void -set_platform_defaults(void) -{ -} - - -/* - * Definitions for accessing the pci config space of the isa node - * of Southbridge. - */ -#define DOUGLAS_ISA_PATHNAME "/pci@1f,0/isa@7" -ddi_acc_handle_t douglas_isa_handle; /* handle for isa pci space */ - -void -load_platform_drivers(void) -{ - dev_info_t *dip; /* dip of the isa driver */ - - /* - * It is OK to return error because 'us' driver is not available - * in all clusters (e.g. missing in Core cluster). - */ - (void) i_ddi_attach_hw_nodes("us"); - - /* - * Note that should warn if this can't happen, but wait until - * tadpmu is integrated before doing that. - */ - (void) i_ddi_attach_hw_nodes("tadpmu"); - - /* - * Install Isa driver. This is required for the southbridge IDE - * workaround - to reset the IDE channel during IDE bus reset. - * Panic the system in case ISA driver could not be loaded or - * any problem in accessing its pci config space. Since the register - * to reset the channel for IDE is in ISA config space!. - */ - - dip = e_ddi_hold_devi_by_path(DOUGLAS_ISA_PATHNAME, 0); - if (dip == NULL) { - cmn_err(CE_PANIC, "Could not install the isa driver\n"); - return; - } - - if (pci_config_setup(dip, &douglas_isa_handle) != DDI_SUCCESS) { - cmn_err(CE_PANIC, "Could not get the config space of isa\n"); - return; - } -} - -/* - * This routine provides a workaround for a bug in the SB chip which - * can cause data corruption. Will be invoked from the IDE HBA driver for - * Acer SouthBridge at the time of IDE bus reset. - */ -/*ARGSUSED*/ -int -plat_ide_chipreset(dev_info_t *dip, int chno) -{ - uint8_t val; - int ret = DDI_SUCCESS; - - val = pci_config_get8(douglas_isa_handle, 0x58); - /* - * The dip passed as the argument is not used for douglas. - * This will be needed for platforms which have multiple on-board SB, - * The dip passed will be used to match the corresponding ISA node. - */ - switch (chno) { - case 0: - /* - * First disable the primary channel then re-enable it. - * As per ALI no wait should be required in between have - * given 1ms delay in between to be on safer side. - * bit 2 of register 0x58 when 0 disable the channel 0. - * bit 2 of register 0x58 when 1 enables the channel 0. - */ - pci_config_put8(douglas_isa_handle, 0x58, val & 0xFB); - drv_usecwait(1000); - pci_config_put8(douglas_isa_handle, 0x58, val); - break; - case 1: - /* - * bit 3 of register 0x58 when 0 disable the channel 1. - * bit 3 of register 0x58 when 1 enables the channel 1. - */ - pci_config_put8(douglas_isa_handle, 0x58, val & 0xF7); - drv_usecwait(1000); - pci_config_put8(douglas_isa_handle, 0x58, val); - break; - default: - /* - * Unknown channel number passed. Return failure. - */ - ret = DDI_FAILURE; - } - - return (ret); -} - - - -/*ARGSUSED*/ -int -plat_cpu_poweron(struct cpu *cp) -{ - return (ENOTSUP); /* not supported on this platform */ -} - -/*ARGSUSED*/ -int -plat_cpu_poweroff(struct cpu *cp) -{ - return (ENOTSUP); /* not supported on this platform */ -} - -/*ARGSUSED*/ -void -plat_freelist_process(int mnode) -{ -} - -char *platform_module_list[] = { - (char *)0 -}; - -/*ARGSUSED*/ -void -plat_tod_fault(enum tod_fault_type tod_bad) -{ -} diff --git a/usr/src/uts/sun4u/douglas/platmod/Makefile b/usr/src/uts/sun4u/douglas/platmod/Makefile deleted file mode 100644 index ef095cfc94..0000000000 --- a/usr/src/uts/sun4u/douglas/platmod/Makefile +++ /dev/null @@ -1,109 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (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 -# or http://www.opensolaris.org/os/licensing. -# 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 2007 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -# -# This makefile drives the production of the sun4u douglas platform module. -# -# sun4u implementation architecture dependent -# - -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -UTSBASE = ../../.. - -# -# Define the module and object file sets. -# -MODULE = platmod -OBJECTS = $(DOUGLAS_OBJS:%=$(OBJS_DIR)/%) -LINTS = $(DOUGLAS_OBJS:%.o=$(LINTS_DIR)/%.ln) -ROOTMODULE = $(ROOT_DOUGLAS_MISC_DIR)/$(MODULE) - -PLAT_DIR = . -HERE = ../douglas/platmod - -# -# Include common rules. -# -include $(UTSBASE)/sun4u/douglas/Makefile.douglas - -# -# Override defaults -# -CLEANFILES += $(PLATLIB) $(SYM_MOD) - -# -# Define targets -# -ALL_TARGET = $(SYM_MOD) -LINT_TARGET = $(MODULE).lint -INSTALL_TARGET = $(BINARY) $(ROOTMODULE) - -# -# lint pass one enforcement -# -CFLAGS += $(CCVERBOSE) - -# -# Default build targets. -# -.KEEP_STATE: - -def: $(DEF_DEPS) - -all: $(ALL_DEPS) - -clean: $(CLEAN_DEPS) - -clobber: $(CLOBBER_DEPS) - -lint: $(LINT_DEPS) - -modlintlib: $(MODLINTLIB_DEPS) - -clean.lint: $(CLEAN_LINT_DEPS) - -install: $(INSTALL_DEPS) - -check: - -LINT_LIB_DIR = $(DOUGLAS_LINT_LIB_DIR) - -$(PLATLIB): $(BINARY) - $(BUILD.SO) $(BINARY) - -$(SYM_MOD): $(UNIX_O) $(PLATLIB) - @echo "resolving symbols against unix.o" - @(cd $(UNIX_DIR); pwd; \ - PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck) - -# -# Include common targets. -# -include $(UTSBASE)/sun4u/douglas/Makefile.targ |
