summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-05-23 23:06:53 +0800
committerLv Zheng <lv.zheng@intel.com>2016-06-06 12:58:28 +0800
commit831b85c7b5e72e12dbc30df2b04e255e1accddb8 (patch)
treecf4bcd4f96bff23a0c807593ee75e76b39b54353
parent8825041d5ebe9d75680cba96bf00efc0754b9683 (diff)
downloadacpica-831b85c7b5e72e12dbc30df2b04e255e1accddb8.tar.gz
Applications: Enable USE_NATIVE_ALLOCATE_ZEROED environment for all applications
We now safe to enable USE_NATIVE_ALLOCATE_ZEROED for all applications as there are implementations in oswinxf.c, osunixxf.c and osefixf.c. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
-rw-r--r--source/include/platform/acenv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/platform/acenv.h b/source/include/platform/acenv.h
index 7a7245624..41022a7e4 100644
--- a/source/include/platform/acenv.h
+++ b/source/include/platform/acenv.h
@@ -151,6 +151,7 @@
(defined ACPI_EXAMPLE_APP)
#define ACPI_APPLICATION
#define ACPI_SINGLE_THREADED
+#define USE_NATIVE_ALLOCATE_ZEROED
#endif
/* iASL configuration */
@@ -197,7 +198,6 @@
#ifdef ACPI_DUMP_APP
#define ACPI_USE_NATIVE_MEMORY_MAPPING
-#define USE_NATIVE_ALLOCATE_ZEROED
#endif
/* AcpiNames/Example configuration. Hardware disabled */