Include file rename

date	2000.06.16.23.14.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 20:41:18 +00:00
parent fd5773d40b
commit b100684c81

View File

@ -1,5 +1,5 @@
/******************************************************************************
*
*
* Module Name: aemain - Main routine for the AcpiExec utility
*
*****************************************************************************/
@ -37,9 +37,9 @@
* The above copyright and patent license is granted only if the following
* conditions are met:
*
* 3. Conditions
* 3. Conditions
*
* 3.1. Redistribution of Source with Rights to Further Distribute Source.
* 3.1. Redistribution of Source with Rights to Further Distribute Source.
* Redistribution of source code of any substantial portion of the Covered
* Code or modification with rights to further distribute source must include
* the above Copyright Notice, the above License, this list of Conditions,
@ -47,11 +47,11 @@
* Licensee must cause all Covered Code to which Licensee contributes to
* contain a file documenting the changes Licensee made to create that Covered
* Code and the date of any change. Licensee must include in that file the
* documentation of any changes made by any predecessor Licensee. Licensee
* documentation of any changes made by any predecessor Licensee. Licensee
* must include a prominent statement that the modification is derived,
* directly or indirectly, from Original Intel Code.
*
* 3.2. Redistribution of Source with no Rights to Further Distribute Source.
* 3.2. Redistribution of Source with no Rights to Further Distribute Source.
* Redistribution of source code of any substantial portion of the Covered
* Code or modification without rights to further distribute source must
* include the following Disclaimer and Export Compliance provision in the
@ -85,7 +85,7 @@
* INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
* UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
* IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
* PARTICULAR PURPOSE.
* PARTICULAR PURPOSE.
*
* 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
* OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
@ -117,14 +117,14 @@
#include <stdlib.h>
#include <string.h>
#include <acpi.h>
#include <acapi.h>
#include <amlcode.h>
#include <parser.h>
#include <tables.h>
#include <namesp.h>
#include <interp.h>
#include <debugger.h>
#include "acpi.h"
#include "acxface.h"
#include "amlcode.h"
#include "parser.h"
#include "tables.h"
#include "namesp.h"
#include "interp.h"
#include "debugger.h"
#include "aecommon.h"
@ -134,10 +134,10 @@
char *Version = "X004";
/******************************************************************************
*
*
* FUNCTION: usage
*
* PARAMETERS: None
@ -164,7 +164,7 @@ usage (void)
/******************************************************************************
*
*
* FUNCTION: main
*
* PARAMETERS: argc, argv
@ -177,9 +177,9 @@ usage (void)
int
main (
int argc,
int argc,
char **argv)
{
{
int j;
ACPI_STATUS Status;
@ -187,7 +187,7 @@ main (
/* Init globals */
Buffer = malloc (BUFFER_SIZE);
DebugLevel = DEBUG_DEFAULT & (~TRACE_TABLES);
DebugLevel = DEBUG_DEFAULT & (~TRACE_TABLES);
DebugLayer = 0xFFFFFFFF;
@ -203,7 +203,7 @@ main (
/* Get the command line options */
while ((j = getopt (argc, argv, "dgjl:o:s")) != EOF) switch(j)
while ((j = getopt (argc, argv, "dgjl:o:s")) != EOF) switch(j)
{
case 'd':
opt_disasm = TRUE;
@ -214,7 +214,7 @@ main (
opt_tables = TRUE;
Filename = NULL;
break;
case 'j':
opt_parse_jit = TRUE;
break;
@ -232,10 +232,10 @@ main (
opt_stats = TRUE;
break;
default:
default:
usage();
return -1;
}
}
/* Init ACPI and start debugger thread */
@ -249,15 +249,15 @@ main (
{
opt_tables = TRUE;
Filename = argv[optind];
Status = DbLoadAcpiTable (Filename);
Status = AcpiDbLoadAcpiTable (Filename);
if (ACPI_FAILURE (Status))
{
goto enterloop;
}
DbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
AcpiDbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
Status = AcpiLoadNamespace ();
DbSetOutputDestination (DB_CONSOLE_OUTPUT);
AcpiDbSetOutputDestination (DB_CONSOLE_OUTPUT);
if (ACPI_FAILURE (Status))
{
@ -269,8 +269,8 @@ main (
*/
AeInstallHandlers ();
}
#ifdef _IA16
#ifdef _IA16
else
{
Status = AdFindDsdt (NULL, NULL);
@ -279,9 +279,9 @@ main (
goto enterloop;
}
DbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
AcpiDbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
Status = AcpiLoadNamespace ();
DbSetOutputDestination (DB_CONSOLE_OUTPUT);
AcpiDbSetOutputDestination (DB_CONSOLE_OUTPUT);
if (ACPI_FAILURE (Status))
{
@ -297,10 +297,10 @@ main (
#endif
enterloop:
/* Enter the debugger command loop */
DbUserCommands (DB_COMMAND_PROMPT, NULL);
AcpiDbUserCommands (DB_COMMAND_PROMPT, NULL);
return 0;
}