summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2000-08-24 09:33:30 +0000
committertakawata <takawata@FreeBSD.org>2000-08-24 09:33:30 +0000
commit3135216f2b96c5fbf4376f70255fc04ccfa4a3ab (patch)
tree2148c1c3b096be89000f930f9c014ba73d196c73 /sys/i386
parent84083e097dd32caf80b017c7007aba2ecfe7f9a6 (diff)
downloadFreeBSD-src-3135216f2b96c5fbf4376f70255fc04ccfa4a3ab.zip
FreeBSD-src-3135216f2b96c5fbf4376f70255fc04ccfa4a3ab.tar.gz
Add orthogonal part of ACPI support code.
This does not come effect until non-orthogonal part is commited. Approved by: jkh Obtained from: ACPI for FreeBSD CVS repository.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/acpi_machdep.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/i386/i386/acpi_machdep.c b/sys/i386/i386/acpi_machdep.c
new file mode 100644
index 0000000..eb50bc2
--- /dev/null
+++ b/sys/i386/i386/acpi_machdep.c
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2000 Mitsuru IWASAKI <iwasaki@FreeBSD.org>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * $Id: acpi_machdep.c,v 1.4 2000/08/08 14:12:10 iwasaki Exp $
+ * $FreeBSD$
+ */
+
+#include "opt_acpi.h"
+
+#ifdef ACPI_NO_OSDFUNC_INLINE
+#include <machine/acpica_osd.h>
+#endif /* ACPI_NO_OSDFUNC_INLINE */
OpenPOWER on IntegriCloud