changeset 34:5471efa2ccbb

6286301 Some of ACPICA files need CDDL header
author small
date Mon, 20 Jun 2005 15:23:37 -0700
parents 0cbc24367213
children 6307fd20d0f7
files usr/src/uts/i86pc/io/acpica/acpi_enum.c usr/src/uts/i86pc/io/acpica/acpica.c usr/src/uts/i86pc/io/acpica/acpica_ec.c usr/src/uts/i86pc/io/acpica/master_ops.c usr/src/uts/i86pc/io/acpica/osl.c usr/src/uts/i86pc/io/acpica/osl_ml.s usr/src/uts/intel/sys/acpi/acpi_enum.h usr/src/uts/intel/sys/acpi/platform/acsolaris.h usr/src/uts/intel/sys/acpica.h
diffstat 9 files changed, 209 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/i86pc/io/acpica/acpi_enum.c	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/acpi_enum.c	Mon Jun 20 15:23:37 2005 -0700
@@ -1,3 +1,24 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
--- a/usr/src/uts/i86pc/io/acpica/acpica.c	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/acpica.c	Mon Jun 20 15:23:37 2005 -0700
@@ -1,11 +1,31 @@
 /*
- * Solaris x86 ACPI CA services
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Solaris x86 ACPI CA services
+ */
 
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
--- a/usr/src/uts/i86pc/io/acpica/acpica_ec.c	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/acpica_ec.c	Mon Jun 20 15:23:37 2005 -0700
@@ -1,11 +1,31 @@
 /*
- * Solaris x86 ACPI CA Embedded Controller operation region handler
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Solaris x86 ACPI CA Embedded Controller operation region handler
+ */
 
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
@@ -436,7 +456,7 @@
 	 * found, use it to install an EC handler
 	 */
 	acpica_probe_ecdt();
-#endif	/* NOTYET*/
+#endif	/* NOTYET */
 
 	/*
 	 * General model is: use GetDevices callback to install
--- a/usr/src/uts/i86pc/io/acpica/master_ops.c	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/master_ops.c	Mon Jun 20 15:23:37 2005 -0700
@@ -1,3 +1,24 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
--- a/usr/src/uts/i86pc/io/acpica/osl.c	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/osl.c	Mon Jun 20 15:23:37 2005 -0700
@@ -1,11 +1,31 @@
 /*
- * ACPI CA OSL for Solaris x86
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * ACPI CA OSL for Solaris x86
+ */
 
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
@@ -1376,7 +1396,7 @@
 			/* done finding a match, so break now */
 			break;
 		}
-	} 
+	}
 }
 
 /*
--- a/usr/src/uts/i86pc/io/acpica/osl_ml.s	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/i86pc/io/acpica/osl_ml.s	Mon Jun 20 15:23:37 2005 -0700
@@ -1,3 +1,24 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.
  * Use is subject to license terms.
--- a/usr/src/uts/intel/sys/acpi/acpi_enum.h	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/intel/sys/acpi/acpi_enum.h	Mon Jun 20 15:23:37 2005 -0700
@@ -1,10 +1,37 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
+#ifndef	_ACPI_ENUM_H_
+#define	_ACPI_ENUM_H_
 
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
+#ifdef	__cplusplus
+extern "C" {
+#endif
+
 /*
  * ACPI enumerator
  */
@@ -16,3 +43,9 @@
 /* some externs */
 
 int acpi_isa_device_enum(dev_info_t *isa_dip);
+
+#ifdef	__cplusplus
+}
+#endif
+
+#endif /* _ACPI_ENUM_H_ */
--- a/usr/src/uts/intel/sys/acpi/platform/acsolaris.h	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/intel/sys/acpi/platform/acsolaris.h	Mon Jun 20 15:23:37 2005 -0700
@@ -1,10 +1,31 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#ifndef __ACSOLARIS_H__
-#define	__ACSOLARIS_H__
+#ifndef _ACSOLARIS_H_
+#define	_ACSOLARIS_H_
 
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
@@ -64,4 +85,4 @@
 }
 #endif
 
-#endif /* __ACSOLARIS_H__ */
+#endif /* _ACSOLARIS_H_ */
--- a/usr/src/uts/intel/sys/acpica.h	Mon Jun 20 14:27:45 2005 -0700
+++ b/usr/src/uts/intel/sys/acpica.h	Mon Jun 20 15:23:37 2005 -0700
@@ -1,3 +1,24 @@
+/*
+ * CDDL HEADER START
+ *
+ * The contents of this file are subject to the terms of the
+ * Common Development and Distribution License, Version 1.0 only
+ * (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 2005 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.