aboutsummaryrefslogtreecommitdiff
path: root/source/include
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2019-12-13 16:51:08 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2019-12-13 16:51:08 +0000
commit856462eaaec9052a60d62b66076257e7fad337c7 (patch)
treef331b79154052fd6dc5f70c176975966370af8d9 /source/include
parent858f47305dae045d81f39451ade697ba99b3266f (diff)
Notes
Diffstat (limited to 'source/include')
-rw-r--r--source/include/acobject.h1
-rw-r--r--source/include/acpixf.h2
-rw-r--r--source/include/platform/acenv.h15
3 files changed, 17 insertions, 1 deletions
diff --git a/source/include/acobject.h b/source/include/acobject.h
index 74feb8d93da9..d04fe0c64cd7 100644
--- a/source/include/acobject.h
+++ b/source/include/acobject.h
@@ -489,6 +489,7 @@ typedef struct acpi_object_buffer_field
{
ACPI_OBJECT_COMMON_HEADER
ACPI_COMMON_FIELD_INFO
+ BOOLEAN IsCreateField; /* Special case for objects created by CreateField() */
union acpi_operand_object *BufferObj; /* Containing Buffer object */
} ACPI_OBJECT_BUFFER_FIELD;
diff --git a/source/include/acpixf.h b/source/include/acpixf.h
index 62e379096783..15a02a306c59 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 0x20191018
+#define ACPI_CA_VERSION 0x20191213
#include "acconfig.h"
#include "actypes.h"
diff --git a/source/include/platform/acenv.h b/source/include/platform/acenv.h
index 46eeb9df520c..bd6816a9b700 100644
--- a/source/include/platform/acenv.h
+++ b/source/include/platform/acenv.h
@@ -270,6 +270,21 @@
#define ACPI_DISASSEMBLER 1
#endif
+/*
+ * acpisrc CR\LF support
+ * Unix file line endings do not include the carriage return.
+ * If the acpisrc utility is being built using a microsoft compiler, it means
+ * that it will be running on a windows machine which means that the output is
+ * expected to have CR/LF newlines. If the acpisrc utility is built with
+ * anything else, it will likely run on a system with LF newlines. This flag
+ * tells the acpisrc utility that newlines will be in the LF format.
+ */
+#if defined(ACPI_SRC_APP) && !defined(_MSC_VER)
+#define ACPI_SRC_OS_LF_ONLY 1
+#else
+#define ACPI_SRC_OS_LF_ONLY 0
+#endif
+
/*! [Begin] no source code translation */
/******************************************************************************