From f1eb4be30357ca66d81d7918a73e0cec82d47c35 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 20:42:11 +0000 Subject: [PATCH] Migrated ASL compiler and core components to use a common PARSE_OBJECT. date 2002.04.04.21.19.00; author rmoore1; state Exp; --- source/tools/acpiexec/aemain.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/tools/acpiexec/aemain.c b/source/tools/acpiexec/aemain.c index 0f9f58663..e19e4d2bf 100644 --- a/source/tools/acpiexec/aemain.c +++ b/source/tools/acpiexec/aemain.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: aemain - Main routine for the AcpiExec utility - * $Revision: 1.60 $ + * $Revision: 1.62 $ * *****************************************************************************/ @@ -127,6 +127,9 @@ #include "aecommon.h" +#ifdef _DEBUG +#include +#endif #define _COMPONENT PARSER ACPI_MODULE_NAME ("aemain") @@ -268,6 +271,10 @@ main ( char Buffer[32]; +#ifdef _DEBUG + _CrtSetDbgFlag (_CRTDBG_CHECK_ALWAYS_DF | _CrtSetDbgFlag(0)); +#endif + /* Init globals */ AcpiDbgLevel = NORMAL_DEFAULT; @@ -345,10 +352,10 @@ main ( AcpiGbl_DbOpt_tables = TRUE; AcpiGbl_DbFilename = argv[optind]; - Status = AcpiDbLoadAcpiTable (AcpiGbl_DbFilename); + Status = AcpiDbGetAcpiTable (AcpiGbl_DbFilename); 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; }