diff options
Diffstat (limited to 'source/tools/acpisrc/asmain.c')
-rw-r--r-- | source/tools/acpisrc/asmain.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/tools/acpisrc/asmain.c b/source/tools/acpisrc/asmain.c index d3c68c54d7a3..ee2f3a98406a 100644 --- a/source/tools/acpisrc/asmain.c +++ b/source/tools/acpisrc/asmain.c @@ -320,6 +320,7 @@ main ( UINT32 FileType; + ACPI_DEBUG_INITIALIZE (); /* For debug version only */ printf (ACPI_COMMON_SIGNON ("ACPI Source Code Conversion Utility")); if (argc < 2) @@ -333,6 +334,7 @@ main ( while ((j = AcpiGetopt (argc, argv, "cdhlqsuvy")) != EOF) switch(j) { case 'l': + /* Linux code generation */ printf ("Creating Linux source code\n"); @@ -342,6 +344,7 @@ main ( break; case 'c': + /* Cleanup code */ printf ("Code cleanup\n"); @@ -350,6 +353,7 @@ main ( break; case 'h': + /* Inject Dual-license header */ printf ("Inserting Dual-license header to all modules\n"); @@ -357,11 +361,13 @@ main ( break; case 's': + /* Statistics only */ break; case 'u': + /* custom conversion */ printf ("Custom source translation\n"); @@ -369,30 +375,35 @@ main ( break; case 'v': + /* Verbose mode */ Gbl_VerboseMode = TRUE; break; case 'y': + /* Batch mode */ Gbl_BatchMode = TRUE; break; case 'd': + /* Leave debug statements in */ Gbl_DebugStatementsMode = TRUE; break; case 'q': + /* Quiet mode */ Gbl_QuietMode = TRUE; break; default: + AsDisplayUsage (); return (-1); } |