mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 05:49:18 +03:00
Migrated ASL compiler and core components to use a common
PARSE_OBJECT. date 2002.04.04.21.19.00; author rmoore1; state Exp;
This commit is contained in:
parent
a573dc850e
commit
f1eb4be303
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: aemain - Main routine for the AcpiExec utility
|
* Module Name: aemain - Main routine for the AcpiExec utility
|
||||||
* $Revision: 1.60 $
|
* $Revision: 1.62 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -127,6 +127,9 @@
|
|||||||
|
|
||||||
#include "aecommon.h"
|
#include "aecommon.h"
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
#include <crtdbg.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _COMPONENT PARSER
|
#define _COMPONENT PARSER
|
||||||
ACPI_MODULE_NAME ("aemain")
|
ACPI_MODULE_NAME ("aemain")
|
||||||
@ -268,6 +271,10 @@ main (
|
|||||||
char Buffer[32];
|
char Buffer[32];
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
_CrtSetDbgFlag (_CRTDBG_CHECK_ALWAYS_DF | _CrtSetDbgFlag(0));
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Init globals */
|
/* Init globals */
|
||||||
|
|
||||||
AcpiDbgLevel = NORMAL_DEFAULT;
|
AcpiDbgLevel = NORMAL_DEFAULT;
|
||||||
@ -345,10 +352,10 @@ main (
|
|||||||
AcpiGbl_DbOpt_tables = TRUE;
|
AcpiGbl_DbOpt_tables = TRUE;
|
||||||
AcpiGbl_DbFilename = argv[optind];
|
AcpiGbl_DbFilename = argv[optind];
|
||||||
|
|
||||||
Status = AcpiDbLoadAcpiTable (AcpiGbl_DbFilename);
|
Status = AcpiDbGetAcpiTable (AcpiGbl_DbFilename);
|
||||||
if (ACPI_FAILURE (Status))
|
if (ACPI_FAILURE (Status))
|
||||||
{
|
{
|
||||||
printf ("**** Could not load input table, %s\n", AcpiFormatException (Status));
|
printf ("**** Could not get input table, %s\n", AcpiFormatException (Status));
|
||||||
goto enterloop;
|
goto enterloop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user