From 831b85c7b5e72e12dbc30df2b04e255e1accddb8 Mon Sep 17 00:00:00 2001 From: Lv Zheng Date: Mon, 23 May 2016 23:06:53 +0800 Subject: 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 --- source/include/platform/acenv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.1