summaryrefslogtreecommitdiff
path: root/source/include/acglobal.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-07-22 23:48:14 +0800
committerLv Zheng <lv.zheng@intel.com>2016-07-22 23:48:14 +0800
commit408198c8c9786f9f104ee925020c3ab1701906e4 (patch)
treef29998290c3d4b762703fb95b5d51ba752759ce1 /source/include/acglobal.h
parent1c49d210dd4b3da37cba0020f9f5d13938e47f93 (diff)
downloadacpica-408198c8c9786f9f104ee925020c3ab1701906e4.tar.gz
OSL: Add correct AcpiGbl_DebugTimeout export to allow acpiexec to link
The AcpiGbl_DebugTimeout which is used by acpiexec -et option now is only implemented in oswinxf.c and used for WIN32 builds. This makes it very difficult to remember that we need to add this variable to other os specific layer files in order for linking. This patch makes it a global option dependent on ACPI_APPLICATION so that it can always be linked by the applications. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'source/include/acglobal.h')
-rw-r--r--source/include/acglobal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/include/acglobal.h b/source/include/acglobal.h
index 23763127c..001519f68 100644
--- a/source/include/acglobal.h
+++ b/source/include/acglobal.h
@@ -464,6 +464,7 @@ ACPI_GLOBAL (const char, *AcpiGbl_PldShapeList[]);
ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_DebugFile, NULL);
ACPI_INIT_GLOBAL (ACPI_FILE, AcpiGbl_OutputFile, NULL);
+ACPI_INIT_GLOBAL (BOOLEAN, AcpiGbl_DebugTimeout, FALSE);
/* Print buffer */