summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-05-25 02:39:01 +0000
committernjl <njl@FreeBSD.org>2004-05-25 02:39:01 +0000
commit437cac5b154810db2810633006a68ec1c6fb36d1 (patch)
tree0081e56022e4a6f34df38c874af7cb19877aa2a0 /sys/contrib/dev/acpica
parent8264817ec55bbef1b489864081ab5285011748a4 (diff)
downloadFreeBSD-src-437cac5b154810db2810633006a68ec1c6fb36d1.zip
FreeBSD-src-437cac5b154810db2810633006a68ec1c6fb36d1.tar.gz
Unchanged files that are off the vendor branch.
Diffstat (limited to 'sys/contrib/dev/acpica')
-rw-r--r--sys/contrib/dev/acpica/acconfig.h16
-rw-r--r--sys/contrib/dev/acpica/acenv.h10
-rw-r--r--sys/contrib/dev/acpica/acpixf.h10
3 files changed, 24 insertions, 12 deletions
diff --git a/sys/contrib/dev/acpica/acconfig.h b/sys/contrib/dev/acpica/acconfig.h
index 74895b5..f88098b 100644
--- a/sys/contrib/dev/acpica/acconfig.h
+++ b/sys/contrib/dev/acpica/acconfig.h
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acconfig.h - Global configuration constants
- * $Revision: 152 $
+ * $Revision: 156 $
*
*****************************************************************************/
@@ -137,7 +137,17 @@
/* Version string */
-#define ACPI_CA_VERSION 0x20040402
+#define ACPI_CA_VERSION 0x20040514
+
+/*
+ * OS name, used for the _OS object. The _OS object is essentially obsolete,
+ * but there is a large base of ASL/AML code in existing machines that check
+ * for the string below. The use of this string usually guarantees that
+ * the ASL will execute down the most tested code path. Also, there is some
+ * code that will not execute the _OSI method unless _OS matches the string
+ * below. Therefore, change this string at your own risk.
+ */
+#define ACPI_OS_NAME "Microsoft Windows NT"
/* Maximum objects in the various object caches */
@@ -260,7 +270,7 @@
/* Number of strings associated with the _OSI reserved method */
-#define ACPI_NUM_OSI_STRINGS 4
+#define ACPI_NUM_OSI_STRINGS 9
/******************************************************************************
diff --git a/sys/contrib/dev/acpica/acenv.h b/sys/contrib/dev/acpica/acenv.h
index 373d7ac..bc17268 100644
--- a/sys/contrib/dev/acpica/acenv.h
+++ b/sys/contrib/dev/acpica/acenv.h
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: acenv.h - Generation environment specific items
- * $Revision: 106 $
+ * $Revision: 107 $
*
*****************************************************************************/
@@ -225,12 +225,8 @@
#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long
-
-/* Name of host operating system (returned by the _OS_ namespace object) */
-
-#define ACPI_OS_NAME "Intel ACPI/CA Core Subsystem"
-
-/* This macro is used to tag functions as "printf-like" because
+/*
+ * This macro is used to tag functions as "printf-like" because
* some compilers can catch printf format string problems. MSVC
* doesn't, so this is proprocessed away.
*/
diff --git a/sys/contrib/dev/acpica/acpixf.h b/sys/contrib/dev/acpica/acpixf.h
index d836f58..57fce77 100644
--- a/sys/contrib/dev/acpica/acpixf.h
+++ b/sys/contrib/dev/acpica/acpixf.h
@@ -368,7 +368,7 @@ AcpiInstallGpeHandler (
ACPI_HANDLE GpeDevice,
UINT32 GpeNumber,
UINT32 Type,
- ACPI_GPE_HANDLER Handler,
+ ACPI_EVENT_HANDLER Address,
void *Context);
ACPI_STATUS
@@ -384,7 +384,7 @@ ACPI_STATUS
AcpiRemoveGpeHandler (
ACPI_HANDLE GpeDevice,
UINT32 GpeNumber,
- ACPI_GPE_HANDLER Handler);
+ ACPI_EVENT_HANDLER Address);
ACPI_STATUS
AcpiEnableEvent (
@@ -406,6 +406,12 @@ AcpiGetEventStatus (
ACPI_EVENT_STATUS *EventStatus);
ACPI_STATUS
+AcpiSetGpeType (
+ ACPI_HANDLE GpeDevice,
+ UINT32 GpeNumber,
+ UINT8 Type);
+
+ACPI_STATUS
AcpiEnableGpe (
ACPI_HANDLE GpeDevice,
UINT32 GpeNumber,
OpenPOWER on IntegriCloud