mirror of
https://github.com/acpica/acpica/
synced 2025-02-10 18:44:12 +03:00
Handler fixes for reference count issues and allow multiple installs
of the same handler with no error date 2003.05.07.18.04.00; author rmoore1; state Exp;
This commit is contained in:
parent
ca7b061da8
commit
413e04aef3
@ -2,7 +2,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: aslmain - compiler main and utilities
|
* Module Name: aslmain - compiler main and utilities
|
||||||
* $Revision: 1.74 $
|
* $Revision: 1.75 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -177,10 +177,11 @@ Options (
|
|||||||
printf (" -ln Create namespace file (*.nsp)\n");
|
printf (" -ln Create namespace file (*.nsp)\n");
|
||||||
printf (" -ls Create combined source file (expanded includes) (*.src)\n");
|
printf (" -ls Create combined source file (expanded includes) (*.src)\n");
|
||||||
|
|
||||||
printf ("\nACPI Tables and AML Disassembler:\n");
|
printf ("\nAML Disassembler:\n");
|
||||||
printf (" -d [file] Disassemble AML to ASL source code file (*.dsl)\n");
|
printf (" -d [file] Disassemble AML to ASL source code file (*.dsl)\n");
|
||||||
printf (" -dc [file] Disassemble AML and immediately compile it\n");
|
printf (" -dc [file] Disassemble AML and immediately compile it\n");
|
||||||
printf (" (Obtain DSDT from current system if no input file)\n");
|
printf (" (Obtain DSDT from current system if no input file)\n");
|
||||||
|
printf (" -e Generate External() statements for unresolved symbols\n");
|
||||||
printf (" -g Get ACPI tables and write to files (*.dat)\n");
|
printf (" -g Get ACPI tables and write to files (*.dat)\n");
|
||||||
|
|
||||||
printf ("\nHelp:\n");
|
printf ("\nHelp:\n");
|
||||||
@ -221,7 +222,7 @@ HelpMessage (
|
|||||||
printf ("\nCompiler Debug Options:\n");
|
printf ("\nCompiler Debug Options:\n");
|
||||||
printf (" -b<p|t|b> Create compiler debug/trace file (*.txt)\n");
|
printf (" -b<p|t|b> Create compiler debug/trace file (*.txt)\n");
|
||||||
printf (" Types: Parse/Tree/Both\n");
|
printf (" Types: Parse/Tree/Both\n");
|
||||||
printf (" -e Ignore errors, always create AML output file(s)\n");
|
printf (" -f Ignore errors, force creation of AML output file(s)\n");
|
||||||
printf (" -c Parse only, no output generation\n");
|
printf (" -c Parse only, no output generation\n");
|
||||||
printf (" -ot Display compile times\n");
|
printf (" -ot Display compile times\n");
|
||||||
printf (" -x<level> Set debug level for trace output\n");
|
printf (" -x<level> Set debug level for trace output\n");
|
||||||
@ -320,7 +321,7 @@ AslCommandLine (
|
|||||||
|
|
||||||
/* Get the command line options */
|
/* Get the command line options */
|
||||||
|
|
||||||
while ((j = AcpiGetopt (argc, argv, "b:cd^egh^i^l^o:p:rs:t:v:x:")) != EOF) switch (j)
|
while ((j = AcpiGetopt (argc, argv, "b:cd^efgh^i^l^o:p:rs:t:v:x:")) != EOF) switch (j)
|
||||||
{
|
{
|
||||||
case 'b':
|
case 'b':
|
||||||
|
|
||||||
@ -379,7 +380,15 @@ AslCommandLine (
|
|||||||
|
|
||||||
case 'e':
|
case 'e':
|
||||||
|
|
||||||
/* Ignore errors and always attempt to create aml file */
|
/* Generate external statements for unresolved symbols */
|
||||||
|
|
||||||
|
Gbl_GenerateExternals = TRUE;
|
||||||
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
case 'f':
|
||||||
|
|
||||||
|
/* Ignore errors and force creation of aml file */
|
||||||
|
|
||||||
Gbl_IgnoreErrors = TRUE;
|
Gbl_IgnoreErrors = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user