Cleanup global variable that is used only by OSL code.

Move AcpiGbl_DebugTimeout from AcpiExec to the OSL layer so that
any new utilities linked to the OSL file(s) won't have to define
it in order to link. Lv Zheng.
This commit is contained in:
Robert Moore 2013-09-25 13:56:13 -07:00
parent 8cd93d4ce0
commit f2c386eee6
3 changed files with 4 additions and 2 deletions

View File

@ -139,6 +139,7 @@
extern FILE *AcpiGbl_DebugFile;
FILE *AcpiGbl_OutputFile;
BOOLEAN AcpiGbl_DebugTimeout = FALSE;
/* Upcalls to AcpiExec */

View File

@ -137,7 +137,6 @@
extern FILE *AcpiGbl_DebugFile;
extern BOOLEAN AcpiGbl_DebugTimeout;
FILE *AcpiGbl_OutputFile;
UINT64 TimerFrequency;
@ -180,6 +179,7 @@ ACPI_OS_SEMAPHORE_INFO AcpiGbl_Semaphores[ACPI_OS_MAX_SEMAPHORES];
#endif /* ACPI_SINGLE_THREADED */
BOOLEAN AcpiGbl_DebugTimeout = FALSE;
/******************************************************************************
*

View File

@ -131,6 +131,8 @@
* expand wildcards.
*/
extern BOOLEAN AcpiGbl_DebugTimeout;
/* Local prototypes */
static int
@ -158,7 +160,6 @@ AcpiDbRunBatchMode (
UINT8 AcpiGbl_RegionFillValue = 0;
BOOLEAN AcpiGbl_IgnoreErrors = FALSE;
BOOLEAN AcpiGbl_DbOpt_NoRegionSupport = FALSE;
BOOLEAN AcpiGbl_DebugTimeout = FALSE;
UINT8 AcpiGbl_UseHwReducedFadt = FALSE;
BOOLEAN AcpiGbl_DoInterfaceTests = FALSE;
static UINT8 AcpiGbl_ExecutionMode = AE_MODE_COMMAND_LOOP;