summaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-07-11 16:51:47 +0000
commit8724452f676e45bfd39cfb47234f7def5551f067 (patch)
treeadad4747b5f7a0166c805c0a7a6bdd4c884aa24b /source/include
parentafea6800ce201481ac6ebace2b4266b3b1b15d6e (diff)
Notes
Diffstat (limited to 'source/include')
-rw-r--r--source/include/acdebug.h3
-rw-r--r--source/include/acexcep.h5
-rw-r--r--source/include/acglobal.h9
-rw-r--r--source/include/acmacros.h4
-rw-r--r--source/include/acobject.h4
-rw-r--r--source/include/acoutput.h4
-rw-r--r--source/include/acpixf.h36
-rw-r--r--source/include/actbl1.h2
-rw-r--r--source/include/platform/acenv.h2
9 files changed, 45 insertions, 24 deletions
diff --git a/source/include/acdebug.h b/source/include/acdebug.h
index f89cf378fa0d5..5c91c87dafaae 100644
--- a/source/include/acdebug.h
+++ b/source/include/acdebug.h
@@ -112,8 +112,7 @@ AcpiDbDisplayTemplate (
void
AcpiDbUnloadAcpiTable (
- char *TableArg,
- char *InstanceArg);
+ char *Name);
void
AcpiDbSendNotify (
diff --git a/source/include/acexcep.h b/source/include/acexcep.h
index 10f5a113da8e5..856a359845ce1 100644
--- a/source/include/acexcep.h
+++ b/source/include/acexcep.h
@@ -53,6 +53,7 @@
#define AE_CODE_ACPI_TABLES 0x2000
#define AE_CODE_AML 0x3000
#define AE_CODE_CONTROL 0x4000
+#define AE_CODE_MAX 0x4000
#define AE_CODE_MASK 0xF000
@@ -188,7 +189,7 @@
/* Exception strings for AcpiFormatException */
-#ifdef DEFINE_ACPI_GLOBALS
+#ifdef ACPI_DEFINE_EXCEPTION_TABLE
/*
* String versions of the exception codes above
@@ -307,6 +308,6 @@ char const *AcpiGbl_ExceptionNames_Ctrl[] =
"AE_CTRL_PARSE_PENDING"
};
-#endif /* ACPI GLOBALS */
+#endif /* EXCEPTION_TABLE */
#endif /* __ACEXCEP_H__ */
diff --git a/source/include/acglobal.h b/source/include/acglobal.h
index 5535c1dc51765..1fc2bc6bae416 100644
--- a/source/include/acglobal.h
+++ b/source/include/acglobal.h
@@ -287,17 +287,8 @@ ACPI_EXTERN UINT8 AcpiGbl_OsiData;
ACPI_EXTERN ACPI_INTERFACE_INFO *AcpiGbl_SupportedInterfaces;
ACPI_EXTERN ACPI_ADDRESS_RANGE *AcpiGbl_AddressRangeList[ACPI_ADDRESS_RANGE_MAX];
-
#ifndef DEFINE_ACPI_GLOBALS
-/* Exception codes */
-
-extern char const *AcpiGbl_ExceptionNames_Env[];
-extern char const *AcpiGbl_ExceptionNames_Pgm[];
-extern char const *AcpiGbl_ExceptionNames_Tbl[];
-extern char const *AcpiGbl_ExceptionNames_Aml[];
-extern char const *AcpiGbl_ExceptionNames_Ctrl[];
-
/* Other miscellaneous */
extern BOOLEAN AcpiGbl_Shutdown;
diff --git a/source/include/acmacros.h b/source/include/acmacros.h
index cdb9cb109e068..591bb6bf1a58b 100644
--- a/source/include/acmacros.h
+++ b/source/include/acmacros.h
@@ -274,8 +274,8 @@
#define ACPI_INSERT_BITS(Target, Mask, Source) Target = ((Target & (~(Mask))) | (Source & Mask))
/*
- * An ACPI_NAMESPACE_NODE can appear in some contexts
- * where a pointer to an ACPI_OPERAND_OBJECT can also
+ * An object of type ACPI_NAMESPACE_NODE can appear in some contexts
+ * where a pointer to an object of type ACPI_OPERAND_OBJECT can also
* appear. This macro is used to distinguish them.
*
* The "Descriptor" field is the first field in both structures.
diff --git a/source/include/acobject.h b/source/include/acobject.h
index e0f4a5259863c..daf1afffb832d 100644
--- a/source/include/acobject.h
+++ b/source/include/acobject.h
@@ -123,8 +123,8 @@ typedef struct acpi_object_integer
/*
- * Note: The String and Buffer object must be identical through the Pointer
- * and Length elements. There is code that depends on this.
+ * Note: The String and Buffer object must be identical through the
+ * pointer and length elements. There is code that depends on this.
*
* Fields common to both Strings and Buffers
*/
diff --git a/source/include/acoutput.h b/source/include/acoutput.h
index a1d89d408cc3c..193d0acc4c81f 100644
--- a/source/include/acoutput.h
+++ b/source/include/acoutput.h
@@ -217,6 +217,8 @@
#define ACPI_WARNING(plist) AcpiWarning plist
#define ACPI_EXCEPTION(plist) AcpiException plist
#define ACPI_ERROR(plist) AcpiError plist
+#define ACPI_BIOS_WARNING(plist) AcpiBiosWarning plist
+#define ACPI_BIOS_ERROR(plist) AcpiBiosError plist
#define ACPI_DEBUG_OBJECT(obj,l,i) AcpiExDoDebugObject(obj,l,i)
#else
@@ -227,6 +229,8 @@
#define ACPI_WARNING(plist)
#define ACPI_EXCEPTION(plist)
#define ACPI_ERROR(plist)
+#define ACPI_BIOS_WARNING(plist)
+#define ACPI_BIOS_ERROR(plist)
#define ACPI_DEBUG_OBJECT(obj,l,i)
#endif /* ACPI_NO_ERROR_MESSAGES */
diff --git a/source/include/acpixf.h b/source/include/acpixf.h
index 9ec5f97c4893f..9c5aa4f6dd5b1 100644
--- a/source/include/acpixf.h
+++ b/source/include/acpixf.h
@@ -48,7 +48,7 @@
/* Current ACPICA subsystem version in YYYYMMDD format */
-#define ACPI_CA_VERSION 0x20120620
+#define ACPI_CA_VERSION 0x20120711
#include "acconfig.h"
#include "actypes.h"
@@ -201,6 +201,22 @@ AcpiFree (
/*
+ * ACPI table load/unload interfaces
+ */
+ACPI_STATUS
+AcpiLoadTable (
+ ACPI_TABLE_HEADER *Table);
+
+ACPI_STATUS
+AcpiUnloadParentTable (
+ ACPI_HANDLE Object);
+
+ACPI_STATUS
+AcpiLoadTables (
+ void);
+
+
+/*
* ACPI table manipulation interfaces
*/
ACPI_STATUS
@@ -212,10 +228,6 @@ AcpiFindRootPointer (
ACPI_SIZE *RsdpAddress);
ACPI_STATUS
-AcpiLoadTables (
- void);
-
-ACPI_STATUS
AcpiGetTableHeader (
ACPI_STRING Signature,
UINT32 Instance,
@@ -757,6 +769,20 @@ AcpiInfo (
const char *Format,
...) ACPI_PRINTF_LIKE(3);
+void ACPI_INTERNAL_VAR_XFACE
+AcpiBiosError (
+ const char *ModuleName,
+ UINT32 LineNumber,
+ const char *Format,
+ ...) ACPI_PRINTF_LIKE(3);
+
+void ACPI_INTERNAL_VAR_XFACE
+AcpiBiosWarning (
+ const char *ModuleName,
+ UINT32 LineNumber,
+ const char *Format,
+ ...) ACPI_PRINTF_LIKE(3);
+
/*
* Debug output
diff --git a/source/include/actbl1.h b/source/include/actbl1.h
index 824135d3dd2dd..c24178f9c4093 100644
--- a/source/include/actbl1.h
+++ b/source/include/actbl1.h
@@ -130,7 +130,7 @@ typedef struct acpi_table_bert
{
ACPI_TABLE_HEADER Header; /* Common ACPI table header */
UINT32 RegionLength; /* Length of the boot error region */
- UINT64 Address; /* Physical addresss of the error region */
+ UINT64 Address; /* Physical address of the error region */
} ACPI_TABLE_BERT;
diff --git a/source/include/platform/acenv.h b/source/include/platform/acenv.h
index 19ca03baacc61..db270626c7f2f 100644
--- a/source/include/platform/acenv.h
+++ b/source/include/platform/acenv.h
@@ -108,9 +108,9 @@
#endif
#ifdef ACPI_HELP_APP
-#define ACPI_DEBUG_OUTPUT
#define ACPI_APPLICATION
#define ACPI_SINGLE_THREADED
+#define ACPI_NO_ERROR_MESSAGES
#endif
/* Linkable ACPICA library */