aboutsummaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2020-02-14 19:19:39 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2020-02-14 19:19:39 +0000
commitaa36cd6999384cddbfa0d030bcdd44e8bf9c7779 (patch)
tree4f865c7e1146baad112589d1fc57dc6b335c68ec /source/include
parent8bf5cb5c35eaf503e388d960914add6a539c1e06 (diff)
Notes
Diffstat (limited to 'source/include')
-rw-r--r--source/include/acconvert.h3
-rw-r--r--source/include/achware.h4
-rw-r--r--source/include/acmacros.h4
-rw-r--r--source/include/acpixf.h6
-rw-r--r--source/include/actbl1.h2
-rw-r--r--source/include/actypes.h7
6 files changed, 17 insertions, 9 deletions
diff --git a/source/include/acconvert.h b/source/include/acconvert.h
index 2894b7292022..0962a164343e 100644
--- a/source/include/acconvert.h
+++ b/source/include/acconvert.h
@@ -237,8 +237,7 @@ CgWriteAmlComment (
void
CvInitFileTree (
ACPI_TABLE_HEADER *Table,
- UINT8 *AmlStart,
- UINT32 AmlLength);
+ FILE *RootFile);
void
CvClearOpComments (
diff --git a/source/include/achware.h b/source/include/achware.h
index 646cef85681a..9ff14d957847 100644
--- a/source/include/achware.h
+++ b/source/include/achware.h
@@ -315,6 +315,10 @@ ACPI_STATUS
AcpiHwEnableAllWakeupGpes (
void);
+UINT8
+AcpiHwCheckAllGpes (
+ void);
+
ACPI_STATUS
AcpiHwEnableRuntimeGpeBlock (
ACPI_GPE_XRUPT_INFO *GpeXruptInfo,
diff --git a/source/include/acmacros.h b/source/include/acmacros.h
index 340875e8257b..71cd18e208b5 100644
--- a/source/include/acmacros.h
+++ b/source/include/acmacros.h
@@ -625,7 +625,7 @@
#define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) CvPrintOneCommentType (a,b,c,d);
#define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) CvPrintOneCommentList (a,b);
#define ASL_CV_FILE_HAS_SWITCHED(a) CvFileHasSwitched(a)
-#define ASL_CV_INIT_FILETREE(a,b,c) CvInitFileTree(a,b,c);
+#define ASL_CV_INIT_FILETREE(a,b) CvInitFileTree(a,b);
#else
@@ -640,7 +640,7 @@
#define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
#define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
#define ASL_CV_FILE_HAS_SWITCHED(a) 0
-#define ASL_CV_INIT_FILETREE(a,b,c)
+#define ASL_CV_INIT_FILETREE(a,b)
#endif
diff --git a/source/include/acpixf.h b/source/include/acpixf.h
index 10e5e79a423b..a39d180e9494 100644
--- a/source/include/acpixf.h
+++ b/source/include/acpixf.h
@@ -154,7 +154,7 @@
/* Current ACPICA subsystem version in YYYYMMDD format */
-#define ACPI_CA_VERSION 0x20200110
+#define ACPI_CA_VERSION 0x20200214
#include "acconfig.h"
#include "actypes.h"
@@ -1109,6 +1109,10 @@ ACPI_STATUS
AcpiEnableAllWakeupGpes (
void))
+ACPI_HW_DEPENDENT_RETURN_UINT32 (
+ UINT32 AcpiAnyGpeStatusSet (
+ void))
+
ACPI_HW_DEPENDENT_RETURN_STATUS (
ACPI_STATUS
AcpiGetGpeDevice (
diff --git a/source/include/actbl1.h b/source/include/actbl1.h
index 6cb327a10a1c..1f0d5c2f4568 100644
--- a/source/include/actbl1.h
+++ b/source/include/actbl1.h
@@ -1149,7 +1149,7 @@ enum AcpiErstInstructions
enum AcpiErstCommandStatus
{
- ACPI_ERST_SUCESS = 0,
+ ACPI_ERST_SUCCESS = 0,
ACPI_ERST_NO_SPACE = 1,
ACPI_ERST_NOT_AVAILABLE = 2,
ACPI_ERST_FAILURE = 3,
diff --git a/source/include/actypes.h b/source/include/actypes.h
index 532d1fa82db2..c7d2c9aa69e4 100644
--- a/source/include/actypes.h
+++ b/source/include/actypes.h
@@ -683,11 +683,12 @@ typedef UINT64 ACPI_INTEGER;
strnlen (a, ACPI_NAMESEG_SIZE) == ACPI_NAMESEG_SIZE)
/*
- * Algorithm to obtain access bit width.
- * Can be used with AccessWidth of ACPI_GENERIC_ADDRESS and AccessSize of
+ * Algorithm to obtain access bit or byte width.
+ * Can be used with AccessSize field of ACPI_GENERIC_ADDRESS and
* ACPI_RESOURCE_GENERIC_REGISTER.
*/
-#define ACPI_ACCESS_BIT_WIDTH(size) (1 << ((size) + 2))
+#define ACPI_ACCESS_BIT_WIDTH(AccessSize) (1 << ((AccessSize) + 2))
+#define ACPI_ACCESS_BYTE_WIDTH(AccessSize) (1 << ((AccessSize) - 1))
/*******************************************************************************