mirror of
https://github.com/acpica/acpica/
synced 2025-01-14 21:39:19 +03:00
Must init ACPI core before fussing with global variables
date 2002.06.12.21.44.00; author rmoore1; state Exp;
This commit is contained in:
parent
4cfe830b12
commit
5a40edb2cb
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: aemain - Main routine for the AcpiExec utility
|
||||
* $Revision: 1.65 $
|
||||
* $Revision: 1.66 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -211,6 +211,9 @@ main (
|
||||
AcpiDbgLevel = NORMAL_DEFAULT;
|
||||
AcpiDbgLayer = 0xFFFFFFFF;
|
||||
|
||||
/* Init ACPI and start debugger thread */
|
||||
|
||||
AcpiInitializeSubsystem ();
|
||||
|
||||
printf ("ACPI AML Execution/Debug Utility ");
|
||||
|
||||
@ -264,9 +267,6 @@ main (
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* Init ACPI and start debugger thread */
|
||||
|
||||
AcpiInitializeSubsystem ();
|
||||
|
||||
InitFlags = (ACPI_NO_HANDLER_INIT | ACPI_NO_ACPI_ENABLE);
|
||||
if (!AcpiGbl_DbOpt_ini_methods)
|
||||
|
Loading…
Reference in New Issue
Block a user